Make app easier to run in debug mode
This commit is contained in:
1 parent
d8fa4e1dcb
commit
93b0a314d4
1 file changed
+5
@@ -27,3 +27,8 @@ app.add_middleware(
|
||||
|
||||
|
||||
locale.setlocale(locale.LC_TIME, locale.getlocale())
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
import uvicorn
|
||||
uvicorn.run(app, debug=True)
|
||||
Reference in new issue
Block a user