Removed public subfolder for files inside public

This commit is contained in:
RemixDev 2020-09-08 13:00:04 +02:00
parent 7a9014f62f
commit da0b4dc6dc
2 changed files with 2 additions and 2 deletions

View file

@ -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)

2
webui

@ -1 +1 @@
Subproject commit e192011f3186c5606aca8005505ea86f64adc43b
Subproject commit 3ecc32b164018fb37989cb33816a3d9e56fe3b92