fixes
This commit is contained in:
@@ -1,10 +1,17 @@
|
||||
from fastapi import FastAPI
|
||||
from src.web.protected_routes.routes import router as protected_router
|
||||
from pathlib import Path
|
||||
|
||||
import uvicorn
|
||||
from fastapi import FastAPI
|
||||
|
||||
from src.web.protected_routes.protected_user_action_routes import (
|
||||
router as protected_user_action_routes,
|
||||
)
|
||||
from src.web.protected_routes.routes import router as protected_router
|
||||
|
||||
app=FastAPI(root_path="/")
|
||||
app.include_router(router=protected_router)
|
||||
app.include_router(router=protected_user_action_routes)
|
||||
|
||||
|
||||
@app.get("")
|
||||
def root()->dict:
|
||||
|
||||
Reference in New Issue
Block a user