From da0b4dc6dcf1e648119d0cd6cdacec3357c6339a Mon Sep 17 00:00:00 2001 From: RemixDev Date: Tue, 8 Sep 2020 13:00:04 +0200 Subject: [PATCH] Removed public subfolder for files inside public --- server.py | 2 +- webui | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index 3b838d8..19854b6 100644 --- a/server.py +++ b/server.py @@ -53,7 +53,7 @@ def resource_path(relative_path): return path.join(base_path, relative_path) gui_dir = resource_path(path.join('webui', 'public')) -server = CustomFlask(__name__, static_folder=gui_dir, template_folder=gui_dir) +server = CustomFlask(__name__, static_folder=gui_dir, template_folder=gui_dir, static_url_path="") server.config['SEND_FILE_MAX_AGE_DEFAULT'] = 1 # disable caching socketio = SocketIO(server, async_mode='threading') server.wsgi_app = ProxyFix(server.wsgi_app, x_for=1, x_proto=1) diff --git a/webui b/webui index e192011..3ecc32b 160000 --- a/webui +++ b/webui @@ -1 +1 @@ -Subproject commit e192011f3186c5606aca8005505ea86f64adc43b +Subproject commit 3ecc32b164018fb37989cb33816a3d9e56fe3b92