aggiunta router
This commit is contained in:
parent
4e74bbb443
commit
a7f82eebad
2 changed files with 8 additions and 3 deletions
|
@ -4,6 +4,7 @@ from fastapi.middleware.cors import CORSMiddleware
|
|||
|
||||
from endpoints.geo_access import geo_access_router
|
||||
from routes import router
|
||||
from endpoints.spotify_api import music_router
|
||||
|
||||
load_dotenv()
|
||||
|
||||
|
@ -21,6 +22,7 @@ app.add_middleware(
|
|||
# Includi le route
|
||||
app.include_router(router)
|
||||
app.include_router(geo_access_router)
|
||||
app.include_router(music_router)
|
||||
|
||||
|
||||
@app.post("/auth")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue