Turned off debug mode

This commit is contained in:
Benjamyn Love 2018-12-08 00:39:14 +11:00
parent 7468edff86
commit 0dc25e5da2

View File

@ -49,7 +49,7 @@ doesDirExist()
# https://paste.benjamyn.love/CBynvvjwDK # https://paste.benjamyn.love/CBynvvjwDK
app = Flask(__name__) app = Flask(__name__)
app.config['DEBUG'] = True app.config['DEBUG'] = False
@app.route('/', methods=['POST', 'GET']) @app.route('/', methods=['POST', 'GET'])
def index(): def index():
@ -80,4 +80,4 @@ def getPaste(path):
return "No paste found" return "No paste found"
if __name__ == '__main__': if __name__ == '__main__':
app.run(host='0.0.0.0') app.run(host='127.0.0.1')