make into multiple different scripts to prevent breaking changes
This commit is contained in:
parent
3a1432de0f
commit
3ca5cc73f0
5 changed files with 70 additions and 73 deletions
9
main.py
Normal file
9
main.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
from fastapi import FastAPI
|
||||
from routes import sso
|
||||
import uvicorn
|
||||
|
||||
app = FastAPI()
|
||||
app.include_router(sso.router, prefix="/api/v2/sso")
|
||||
|
||||
if __name__ == '__main__':
|
||||
uvicorn.run(app, host="0.0.0.0", port=5000)
|
||||
Loading…
Reference in a new issue