diff --git a/main.py b/main.py index a50ef0c..c99e0dd 100644 --- a/main.py +++ b/main.py @@ -38,7 +38,8 @@ def getId(): def gamewelcome(): ip = getId() # return redirect(url_for('gameplay', id=request.remote_addr)) - return render_template('GameWelcome.html') + return render_template('Maintenance.html') + # return render_template('GameWelcome.html') @app.route('/question') @@ -260,5 +261,5 @@ def saveJsonFile(path, filename, content): if __name__ == '__main__': #saveRepFile(replayDataPath, "null_test.rep", testJson) - # app.run(host='0.0.0.0', port=80, debug=False) - app.run() + app.run(host='0.0.0.0', port=80, debug=False) + # app.run() diff --git a/templates/Maintenance.html b/templates/Maintenance.html new file mode 100644 index 0000000..85cf63d --- /dev/null +++ b/templates/Maintenance.html @@ -0,0 +1,40 @@ + + + + +Mario Under maintenance + + + +
+ Current Website is under maintenance... +
+ + \ No newline at end of file