Monitor: Forgot the app.install(EnableCors())

This commit is contained in:
Athanasius 2021-07-02 16:57:06 +00:00
parent 1feb7c2dee
commit a8b3fc33e1

View File

@ -240,6 +240,7 @@ def main():
loadConfig()
m = Monitor()
m.start()
app.install(EnableCors())
app.run(
host=Settings.MONITOR_HTTP_BIND_ADDRESS,
port=Settings.MONITOR_HTTP_PORT,