from flask import Flask
from assets import register_assets


# Entry point to application
def create_app():
    reg_state_app = Flask(__name__)
    reg_state_app.secret_key = 'secret'
    with reg_state_app.app_context():
        import routes  # This import here is vital
        register_assets()
    return reg_state_app


if __name__ == '__main__':
    # from utils import LoggingMiddleware
    # app.wsgi_app = LoggingMiddleware(app.wsgi_app)
    app = create_app()
    app.run(debug=True, host='0.0.0.0', port=5000)

648c632faadcd2e689652cfd031796ef88629700
<mask token>

<mask token>


def create_app():
    reg_state_app = Flask(__name__)
    reg_state_app.secret_key = 'secret'
    with reg_state_app.app_context():
        import routes
        register_assets()
    return reg_state_app


<mask token>

<mask token>


def create_app():
    reg_state_app = Flask(__name__)
    reg_state_app.secret_key = 'secret'
    with reg_state_app.app_context():
        import routes
        register_assets()
    return reg_state_app


if __name__ == '__main__':
    app = create_app()
    app.run(debug=True, host='0.0.0.0', port=5000)

from flask import Flask
from assets import register_assets


def create_app():
    reg_state_app = Flask(__name__)
    reg_state_app.secret_key = 'secret'
    with reg_state_app.app_context():
        import routes
        register_assets()
    return reg_state_app


if __name__ == '__main__':
    app = create_app()
    app.run(debug=True, host='0.0.0.0', port=5000)

from flask import Flask
from assets import register_assets


# Entry point to application
def create_app():
    reg_state_app = Flask(__name__)
    reg_state_app.secret_key = 'secret'
    with reg_state_app.app_context():
        import routes  # This import here is vital
        register_assets()
    return reg_state_app


if __name__ == '__main__':
    # from utils import LoggingMiddleware
    # app.wsgi_app = LoggingMiddleware(app.wsgi_app)
    app = create_app()
    app.run(debug=True, host='0.0.0.0', port=5000)
