mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
environment variable no more required for gunicorn
This commit is contained in:
parent
32d46ba5ed
commit
889580266c
3 changed files with 4 additions and 8 deletions
|
|
@ -46,7 +46,7 @@ def main():
|
|||
|
||||
|
||||
def server(options=None):
|
||||
from burpui import init, lookup_config
|
||||
from burpui import create_app, lookup_config
|
||||
|
||||
if not options:
|
||||
options = parse_args(mode=False)
|
||||
|
|
@ -54,7 +54,7 @@ def server(options=None):
|
|||
conf = lookup_config(options.config)
|
||||
check_config(conf)
|
||||
|
||||
server = init(conf, options.log, options.logfile, False, debug=options.debug)
|
||||
server = create_app(conf, options.log, options.logfile, False, debug=options.debug)
|
||||
|
||||
server.manual_run()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue