This commit is contained in:
maaa 2023-08-10 18:43:37 +02:00
parent d97475a191
commit cbfa639c4e
1 changed files with 2 additions and 2 deletions

4
down
View File

@ -13,8 +13,8 @@ SECRET_KEY = config["config"]["SECRET_KEY"]
app = Flask(__name__, static_folder=None) app = Flask(__name__, static_folder=None)
app.config["SECRET_KEY"] = SECRET_KEY app.config["SECRET_KEY"] = SECRET_KEY
@app.route("/") @app.errorhandler(404)
def main(): def main(e):
return render_template("down.html"), 503 return render_template("down.html"), 503
@app.route("/grid.svg") @app.route("/grid.svg")