From c7d629f88a754ef1210a1ab87a96fe8f71036f38 Mon Sep 17 00:00:00 2001 From: Hemna Date: Mon, 24 Jul 2023 09:39:16 -0400 Subject: [PATCH] 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 --- aprsd/wsgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aprsd/wsgi.py b/aprsd/wsgi.py index 1724126..7171671 100644 --- a/aprsd/wsgi.py +++ b/aprsd/wsgi.py @@ -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":