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