Commit ·
36006e1
1
Parent(s): 3e4acc1
UI updated
Browse files- text_auth_app.py +2 -2
text_auth_app.py
CHANGED
|
@@ -412,10 +412,10 @@ app.add_middleware(CORSMiddleware,
|
|
| 412 |
)
|
| 413 |
|
| 414 |
# Mount static files
|
| 415 |
-
ui_static_path = Path(__file__).parent / "ui"
|
| 416 |
|
| 417 |
if ui_static_path.exists():
|
| 418 |
-
app.mount("/
|
| 419 |
|
| 420 |
|
| 421 |
# Global instances
|
|
|
|
| 412 |
)
|
| 413 |
|
| 414 |
# Mount static files
|
| 415 |
+
ui_static_path = Path(__file__).parent / "ui"
|
| 416 |
|
| 417 |
if ui_static_path.exists():
|
| 418 |
+
app.mount("/ui", StaticFiles(directory = str(ui_static_path)), name = "ui")
|
| 419 |
|
| 420 |
|
| 421 |
# Global instances
|