Have run.py use the app created by calling create_app()

This commit is contained in:
ChristopherDiesch 2025-03-27 15:22:58 -06:00
parent 393098b85c
commit d11fd2ab57

11
run.py
View File

@ -1,13 +1,6 @@
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello():
return 'Hello World!'
from app import create_app
app = create_app()
if __name__ == '__main__':
app.run(ssl_context='adhoc')