Merge pull request #74 from PhoenixTwoFive/73-fix-code-scanning-alert-flask-app-is-run-in-debug-mode

Remove standalone run stub
This commit is contained in:
Phillip Kühne 2023-10-03 20:22:20 +02:00 committed by GitHub
commit c3603a13dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -325,6 +325,3 @@ def inject_version():
# Perform setup here so it will be executed when the module is imported by the WSGI server. # Perform setup here so it will be executed when the module is imported by the WSGI server.
activate_job() activate_job()
if __name__ == "__main__":
app.run(host='127.0.0.1', port=8080, debug=True)