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:
Hemna 2023-07-24 09:39:16 -04:00
parent 099b87e250
commit c7d629f88a
1 changed files with 1 additions and 1 deletions

View File

@ -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":