Update server.py
Browse files
server.py
CHANGED
|
@@ -39,7 +39,7 @@ except FileNotFoundError:
|
|
| 39 |
|
| 40 |
|
| 41 |
# Pfad zur statischen index.html-Datei
|
| 42 |
-
STATIC_INDEX_PATH = os.path.join("static", "
|
| 43 |
|
| 44 |
@app.get("/", response_class=FileResponse) # <-- Geändert: FileResponse
|
| 45 |
async def read_index(request: Request):
|
|
|
|
| 39 |
|
| 40 |
|
| 41 |
# Pfad zur statischen index.html-Datei
|
| 42 |
+
STATIC_INDEX_PATH = os.path.join("static", "map.html")
|
| 43 |
|
| 44 |
@app.get("/", response_class=FileResponse) # <-- Geändert: FileResponse
|
| 45 |
async def read_index(request: Request):
|