Skip to content

Commit

Permalink
add:fronted
Browse files Browse the repository at this point in the history
  • Loading branch information
vastsa committed Aug 14, 2023
1 parent 15516e3 commit af1388c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,9 @@
@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)

0 comments on commit af1388c

Please sign in to comment.