add:fronted
This commit is contained in:
1 parent
15516e3909
commit
af1388cacb
1 file changed
+6
@@ -48,3 +48,9 @@ app.include_router(admin_api)
|
||||
@app.get('/')
|
||||
async def index():
|
||||
return HTMLResponse(content=open('./fcb-fronted/dist/index.html', 'r', encoding='utf-8').read(), status_code=200)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
import uvicorn
|
||||
|
||||
uvicorn.run(app='main:app', host="0.0.0.0", port=12345, reload=False, workers=3)
|
||||
Reference in new issue
Block a user