Turned off debug mode
This commit is contained in:
parent
7468edff86
commit
0dc25e5da2
4
paste.py
4
paste.py
@ -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')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user