Commit 2db8e801 authored by Ziirish's avatar Ziirish

always set BUI_PREFIX option

parent ebf12aa4
......@@ -302,9 +302,8 @@ class BUIServer(Flask):
if prefix and not prefix.startswith('/'):
if prefix.lower() != 'none':
self.logger.warning("'prefix' must start with a '/'!")
self.config['BUI_PREFIX'] = ''
elif prefix:
self.config['BUI_PREFIX'] = prefix
prefix = ''
self.config['BUI_PREFIX'] = prefix
# WebSocket options
self.ws_enabled = self.config['WS_ENABLED'] = self.conf.safe_get(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment