rename project to fhdhview
This commit is contained in:
1 parent
c4d3b6b292
commit
6755875938
51 files changed
+39
-39
No files matched your search
@@ -0,0 +1,19 @@
|
||||
# SPDX-FileCopyrightText: 2026 Filmhuis Den Haag
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from fastapi import APIRouter
|
||||
from fastapi.responses import FileResponse
|
||||
|
||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
|
||||
router = APIRouter(
|
||||
prefix="/info",
|
||||
tags=["Info"]
|
||||
)
|
||||
|
||||
|
||||
@router.get("", response_class=FileResponse)
|
||||
async def get_info():
|
||||
return FileResponse(BASE_DIR / "html" / "info.html")
|
||||
Reference in new issue
Block a user