make sure flask server is able to be accessed from host, outside container
All checks were successful
Flask Run Test / Flask-Run-Test (push) Successful in 10s
All checks were successful
Flask Run Test / Flask-Run-Test (push) Successful in 10s
This commit is contained in:
2
app.py
2
app.py
@@ -330,4 +330,4 @@ def download(code):
|
|||||||
flash('Invalid code! Check if you typed the correct code, and for one-time codes, make sure nobody else entered the code before you did.', 'error')
|
flash('Invalid code! Check if you typed the correct code, and for one-time codes, make sure nobody else entered the code before you did.', 'error')
|
||||||
return redirect(url_for('upload'))
|
return redirect(url_for('upload'))
|
||||||
|
|
||||||
app.run(debug=True, port=3133)
|
app.run(debug=True, port=3133, host='0.0.0.0')
|
||||||
|
|||||||
Reference in New Issue
Block a user