This commit is contained in:
parent
d97475a191
commit
cbfa639c4e
4
down
4
down
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue