Skip to content

Commit 7875b6d

Browse files
committed
Fix static path in docker container
1 parent 9bbd7bf commit 7875b6d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import os
12
import secrets
23

34
import settings
@@ -6,7 +7,7 @@
67

78

89
async def frontend(request):
9-
return web.FileResponse("frontend/dist/index.html")
10+
return web.FileResponse(os.path.join(settings.STATIC_DIR, "index.html"))
1011

1112

1213
async def settings_(request):

0 commit comments

Comments
 (0)