[V0.5] Working application with all 4 screens as of yet.

This commit is contained in:
c-d-p
2025-04-26 13:23:45 +02:00
parent 22a4fc50a5
commit 04d9136b96
15 changed files with 154 additions and 29 deletions

View File

@@ -10,7 +10,6 @@ logging.getLogger("passlib").setLevel(logging.ERROR) # fix bc package logging i
def lifespan_factory() -> Callable[[FastAPI], _AsyncGeneratorContextManager[Any]]:
@asynccontextmanager
async def lifespan(app: FastAPI):
# Base.metadata.drop_all(bind=get_engine())
@@ -29,6 +28,7 @@ app.add_middleware(
CORSMiddleware,
allow_origins=[
"https://maia.depaoli.id.au",
"http://localhost:8081",
],
allow_credentials=True,
allow_methods=["*"],