mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-10 03:27:57 +00:00
Merge 96458e58b6 into b859124f95
This commit is contained in:
commit
757433bcfe
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ async def import_legacy_config_json():
|
|||
STATIC_DIR = Path(os.getenv('STATIC_DIR', OPEN_WEBUI_DIR / 'static')).resolve()
|
||||
|
||||
try:
|
||||
if STATIC_DIR.exists():
|
||||
if STATIC_DIR.exists() and (FRONTEND_BUILD_DIR / 'static').is_dir():
|
||||
for item in STATIC_DIR.iterdir():
|
||||
if item.is_file() or item.is_symlink():
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue