Turned off debug mode

This commit is contained in:
benjamyn committed 2018-12-08 00:39:14 +11:00
1 parent 7468edff86
commit 0dc25e5da2
1 file changed
+2 -2
+2 -2
View File
@@ -49,7 +49,7 @@ doesDirExist()
# https://paste.benjamyn.love/CBynvvjwDK
app = Flask(__name__)
app.config['DEBUG'] = True
app.config['DEBUG'] = False
@app.route('/', methods=['POST', 'GET'])
def index():
@@ -80,4 +80,4 @@ def getPaste(path):
return "No paste found"
if __name__ == '__main__':
app.run(host='0.0.0.0')
app.run(host='127.0.0.1')