Compare commits

...

2 Commits

Author SHA1 Message Date
f419b8573a
update 2024-11-19 15:19:53 -05:00
c21df591bd
update 2024-11-19 15:19:23 -05:00
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -5,6 +5,7 @@
/templates/result.html
/templates/scan.html
/templates/upload.html
/venv
app.py~
app2.py
.env

3
app.py
View File

@ -186,5 +186,6 @@ def format_scan_result(scan_result):
return formatted_result
if __name__ == '__main__':
socketio.run(app, debug=True)
socketio.run(app, host='0.0.0.0', port=5001, debug=os.getenv('FLASK_DEBUG', 'False').lower() == 'true')