mirror of
https://github.com/craigerl/aprsd.git
synced 2024-12-22 01:20:59 -05:00
Use CONF.admin.web_port for single launch web admin
This patch changes the non uwsgi launch of the admin page to use the config for the web port
This commit is contained in:
parent
099b87e250
commit
c7d629f88a
@ -330,7 +330,7 @@ if __name__ == "__main__":
|
||||
setup_logging(app, log_level)
|
||||
sio.register_namespace(LoggingNamespace("/logs"))
|
||||
CONF.log_opt_values(LOG, logging.DEBUG)
|
||||
app.run(threaded=True, debug=True, port=8000)
|
||||
app.run(threaded=True, debug=True, port=CONF.admin.web_port)
|
||||
|
||||
|
||||
if __name__ == "uwsgi_file_aprsd_wsgi":
|
||||
|
Loading…
Reference in New Issue
Block a user