1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-11-13 20:01:48 -05:00

updated wsgi config default /config/aprsd.conf

This patch changes wsgi.py to default to /config/aprsd.conf

It's assumed that this will be used as a docker container
This commit is contained in:
Hemna 2023-07-20 15:59:44 -04:00
parent d251a2727a
commit 588e140a7f

View File

@ -332,6 +332,6 @@ if __name__ == "__main__":
socket_io.run(app) socket_io.run(app)
if __name__ == "aprsd.wsgi": if __name__ == "aprsd.wsgi":
log_level = init_app(config_file="~/.config/aprsd/aprsd.conf", log_level="DEBUG") log_level = init_app(config_file="/config/aprsd.conf", log_level="DEBUG")
socket_io.on_namespace(LoggingNamespace("/logs")) socket_io.on_namespace(LoggingNamespace("/logs"))
setup_logging(app, log_level) setup_logging(app, log_level)