Update
This commit is contained in:
parent
f6be1ffebc
commit
0aeefc1e6a
|
@ -1,3 +1,4 @@
|
||||||
|
import uvicorn
|
||||||
# import pathlib
|
# import pathlib
|
||||||
import datetime
|
import datetime
|
||||||
import uuid
|
import uuid
|
||||||
|
@ -72,3 +73,7 @@ async def index(request: Request):
|
||||||
@app.exception_handler(HTTPException)
|
@app.exception_handler(HTTPException)
|
||||||
async def http_exception_handler(request, exc):
|
async def http_exception_handler(request, exc):
|
||||||
return JSONResponse(status_code=exc.status_code, content={"detail": exc.detail})
|
return JSONResponse(status_code=exc.status_code, content={"detail": exc.detail})
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
uvicorn.run(app, host="127.0.0.1", port=8001)
|
||||||
|
|
|
@ -516,7 +516,7 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="p-3">
|
<p class="p-3">
|
||||||
Анкеты доступны только мне, без передачи третиим лицам.
|
Анкеты доступны только мне, без передачи третьим лицам.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="p-3">
|
<p class="p-3">
|
||||||
|
|
Loading…
Reference in New Issue