This commit is contained in:
@@ -56,6 +56,4 @@ def exception_handler(_et, exc, _tb):
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.excepthook = exception_handler
|
||||
uvicorn.run(
|
||||
"main:app", host="0.0.0.0", port=PORT, proxy_headers=True, server_header=True
|
||||
)
|
||||
uvicorn.run("main:app", host="0.0.0.0", port=PORT, proxy_headers=True, server_header=True)
|
||||
|
Reference in New Issue
Block a user