mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-09 08:17:42 +08:00
Final fix for #85 ... I hope...
This commit is contained in:
parent
9b59368b06
commit
0a3ccbb1c2
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ def redirect_root():
|
|||
@route(base_url + 'static/:path#.+#', name='static')
|
||||
@custom_auth_basic(check_credentials)
|
||||
def static(path):
|
||||
return static_file(path, root=os.path.join(config_dir, 'static'))
|
||||
return static_file(path, root=os.path.join(os.path.dirname(__file__), 'static'))
|
||||
|
||||
@route(base_url + 'emptylog')
|
||||
@custom_auth_basic(check_credentials)
|
||||
|
|
Loading…
Reference in a new issue