Skip to content

Commit 7ea84f0

Browse files
committed
update:adjust file structure
1 parent c9ec408 commit 7ea84f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
if not DATA_ROOT.exists():
2222
DATA_ROOT.mkdir(parents=True)
2323

24-
STATIC_URL = settings.STATIC_URL
25-
app.mount(STATIC_URL, StaticFiles(directory=DATA_ROOT), name="static")
24+
app.mount(settings.STATIC_URL, StaticFiles(directory=DATA_ROOT), name="static")
2625

2726

2827
@app.on_event('startup')

0 commit comments

Comments
 (0)