Skip to content
Snippets Groups Projects
Commit e9ef03dc authored by Felix Chadwick-Smith's avatar Felix Chadwick-Smith
Browse files

Merge branch 'master' into 'main'

altered to run flask development server

See merge request !9
parents 5b8d435c 18e423cc
No related branches found
No related tags found
1 merge request!9altered to run flask development server
import os
import sys
import logging
from app import app as application
from markupsafe import Markup
# Make sure to import os
import sys
import logging
sys.modules['flask'].Markup = Markup
logging.basicConfig(stream=sys.stderr)
# Use if __name__ == '__main__': to run the Flask development server
if __name__ == '__main__':
application.run(host='0.0.0.0', port=int(os.environ.get('PORT', 8080)))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment