This commit is contained in:
Blake Blackshear
2021-01-26 21:40:33 -06:00
parent 59daa6597b
commit ec1a8ebd4a
4 changed files with 6 additions and 12 deletions
+2 -1
View File
@@ -121,6 +121,7 @@ class FrigateApp():
def start(self):
self.init_logger()
# TODO: exit if config doesnt parse
self.init_config()
self.init_queues()
self.init_database()
@@ -132,7 +133,7 @@ class FrigateApp():
self.init_web_server()
self.start_event_processor()
self.start_watchdog()
self.flask_app.run(host='0.0.0.0', port=self.config.web_port, debug=False)
self.flask_app.run(host='127.0.0.1', port=5001, debug=False)
self.stop()
def stop(self):