mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
wip: initiate user creation
This commit is contained in:
parent
afaf1d6dfe
commit
732b14866c
10 changed files with 126 additions and 11 deletions
|
|
@ -1,7 +1,7 @@
|
|||
from fastapi import FastAPI, Request
|
||||
from config.config import LearnHouseConfig, get_learnhouse_config
|
||||
from src.core.events.events import shutdown_app, startup_app
|
||||
from src.router import v1_router
|
||||
from src.router import v1_router, rewrite
|
||||
from fastapi.middleware.cors import CORSMiddleware
|
||||
from fastapi.responses import JSONResponse
|
||||
from fastapi.staticfiles import StaticFiles
|
||||
|
|
@ -60,6 +60,7 @@ app.mount("/content", StaticFiles(directory="content"), name="content")
|
|||
|
||||
# Global Routes
|
||||
app.include_router(v1_router)
|
||||
app.include_router(rewrite)
|
||||
|
||||
# General Routes
|
||||
@app.get("/")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue