mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-15 14:16:08 -06:00
always set BUI_PREFIX option
This commit is contained in:
parent
ebf12aa4b5
commit
2db8e8015d
1 changed files with 2 additions and 3 deletions
|
|
@ -302,9 +302,8 @@ class BUIServer(Flask):
|
||||||
if prefix and not prefix.startswith('/'):
|
if prefix and not prefix.startswith('/'):
|
||||||
if prefix.lower() != 'none':
|
if prefix.lower() != 'none':
|
||||||
self.logger.warning("'prefix' must start with a '/'!")
|
self.logger.warning("'prefix' must start with a '/'!")
|
||||||
self.config['BUI_PREFIX'] = ''
|
prefix = ''
|
||||||
elif prefix:
|
self.config['BUI_PREFIX'] = prefix
|
||||||
self.config['BUI_PREFIX'] = prefix
|
|
||||||
|
|
||||||
# WebSocket options
|
# WebSocket options
|
||||||
self.ws_enabled = self.config['WS_ENABLED'] = self.conf.safe_get(
|
self.ws_enabled = self.config['WS_ENABLED'] = self.conf.safe_get(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue