Fix context has already been set error
continuous-integration/drone Build is passing Details

This commit is contained in:
Lauri Võsandi 2023-08-17 09:24:32 +03:00
parent fee31f2735
commit 8a39056599
1 changed files with 2 additions and 1 deletions

View File

@ -57,4 +57,5 @@ async def view_export(request):
return response.stream(streaming_fn, content_type="text/plain")
app.run(host="0.0.0.0", port=3001)
if __name__ == "__main__":
app.run(host="0.0.0.0", port=3001, single_process=True)