[V0.5] Working application with all 4 screens as of yet.
This commit is contained in:
@@ -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=["*"],
|
||||
|
||||
Reference in New Issue
Block a user