1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-11-16 05:12:01 -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:
Hemna 2023-07-24 09:39:16 -04:00
parent 099b87e250
commit c7d629f88a

View File

@ -330,7 +330,7 @@ if __name__ == "__main__":
setup_logging(app, log_level) setup_logging(app, log_level)
sio.register_namespace(LoggingNamespace("/logs")) sio.register_namespace(LoggingNamespace("/logs"))
CONF.log_opt_values(LOG, logging.DEBUG) 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": if __name__ == "uwsgi_file_aprsd_wsgi":