mirror of
https://github.com/vastsa/FileCodeBox.git
synced 2026-11-22 23:17:09 +08:00
update:adjust file structure
This commit is contained in:
1 parent
c9ec40803d
commit
7ea84f0941
1 file changed
+1
-2
@@ -21,8 +21,7 @@ DATA_ROOT = Path(settings.DATA_ROOT)
|
||||
if not DATA_ROOT.exists():
|
||||
DATA_ROOT.mkdir(parents=True)
|
||||
|
||||
STATIC_URL = settings.STATIC_URL
|
||||
app.mount(STATIC_URL, StaticFiles(directory=DATA_ROOT), name="static")
|
||||
app.mount(settings.STATIC_URL, StaticFiles(directory=DATA_ROOT), name="static")
|
||||
|
||||
|
||||
@app.on_event('startup')
|
||||
|
||||
Reference in new issue
Block a user