Añadido soporte para autenticación con Google y ajustes en la configuración del entorno

This commit is contained in:
Mireya Cueto Garrido
2026-04-13 11:08:14 +02:00
parent f216ddea80
commit 040989bdfc
4 changed files with 18 additions and 18 deletions
+1 -2
View File
@@ -25,8 +25,6 @@ async def lifespan(app: FastAPI):
app = FastAPI(lifespan=lifespan)
app.include_router(google_auth_router)
app.add_middleware(
CORSMiddleware,
allow_origins=["*"],
@@ -45,3 +43,4 @@ app.include_router(test_mongo_router, prefix="/api")
app.include_router(auth_router, prefix="/api")
app.include_router(history_router, prefix="/api")
app.include_router(docit2mf_router, prefix="/api")
app.include_router(google_auth_router, prefix="/api")