Compare commits

..

1 Commits

Author SHA1 Message Date
ad0351e9ab Add default api base 2021-05-15 14:45:52 +02:00

View File

@ -5,7 +5,7 @@ import os
app = Flask(__name__) app = Flask(__name__)
app.config["PROMETHEUS_API_BASE"] = "https://[::1]:9090" app.config["PROMETHEUS_API_BASE"] = "http://[::1]:9090"
if "UPTIMESTATUS_SETTINGS" in os.environ: if "UPTIMESTATUS_SETTINGS" in os.environ:
app.config.from_envvar('UPTIMESTATUS_SETTINGS') app.config.from_envvar('UPTIMESTATUS_SETTINGS')