Turned off debug mode
This commit is contained in:
1 parent
7468edff86
commit
0dc25e5da2
1 file changed
+2
-2
@@ -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')
|
||||
Reference in new issue
Block a user