mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-15 06:05:58 -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.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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue