Spaces:
Running
Running
Update server.py
Browse files
server.py
CHANGED
|
@@ -624,6 +624,10 @@ async def load(request: Request, filename: str) -> Response:
|
|
| 624 |
|
| 625 |
with open(idx_file, "r", encoding="utf-8") as f:
|
| 626 |
html = f.read()
|
|
|
|
|
|
|
|
|
|
|
|
|
| 627 |
return HTMLResponse(html)
|
| 628 |
|
| 629 |
|
|
|
|
| 624 |
|
| 625 |
with open(idx_file, "r", encoding="utf-8") as f:
|
| 626 |
html = f.read()
|
| 627 |
+
|
| 628 |
+
print(filename)
|
| 629 |
+
print(html)
|
| 630 |
+
|
| 631 |
return HTMLResponse(html)
|
| 632 |
|
| 633 |
|