forked from Ailur/burgernotes-server
d
This commit is contained in:
parent
d97475a191
commit
cbfa639c4e
1 changed files with 2 additions and 2 deletions
4
down
4
down
|
@ -13,8 +13,8 @@ SECRET_KEY = config["config"]["SECRET_KEY"]
|
|||
app = Flask(__name__, static_folder=None)
|
||||
app.config["SECRET_KEY"] = SECRET_KEY
|
||||
|
||||
@app.route("/")
|
||||
def main():
|
||||
@app.errorhandler(404)
|
||||
def main(e):
|
||||
return render_template("down.html"), 503
|
||||
|
||||
@app.route("/grid.svg")
|
||||
|
|
Loading…
Add table
Reference in a new issue