mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 07:05:36 +01:00
Fix
This commit is contained in:
@@ -12,7 +12,14 @@ from .views import routes
|
||||
def get_app() -> FastAPI:
|
||||
app = FastAPI()
|
||||
|
||||
app.mount("/", StaticFiles(directory="frontend", html=True), name="frontend")
|
||||
app.mount(
|
||||
"/",
|
||||
StaticFiles(
|
||||
directory="modules/web_app/frontend",
|
||||
html=True
|
||||
),
|
||||
name="frontend"
|
||||
)
|
||||
|
||||
auth.handle_errors(app)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user