Skip to content

Commit a142c4c

Browse files
authored
fixed duplication of app_root_path for static files (#1028)
Signed-off-by: Keval Mahajan <[email protected]>
1 parent dcc7b80 commit a142c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcpgateway/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4237,7 +4237,7 @@ async def cleanup_import_statuses(max_age_hours: int = 24, user=Depends(get_curr
42374237
try:
42384238
# Create a sub-application for static files that will respect root_path
42394239
static_app = StaticFiles(directory=str(settings.static_dir))
4240-
STATIC_PATH = f"{settings.app_root_path}/static" if settings.app_root_path else "/static"
4240+
STATIC_PATH = "/static"
42414241

42424242
app.mount(
42434243
STATIC_PATH,

0 commit comments

Comments
 (0)