From d11fd2ab57d5af3986e682b8867dbb60be167fdb Mon Sep 17 00:00:00 2001 From: ChristopherDiesch Date: Thu, 27 Mar 2025 15:22:58 -0600 Subject: [PATCH] Have run.py use the app created by calling create_app() --- run.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/run.py b/run.py index 6a002e4..050634c 100644 --- a/run.py +++ b/run.py @@ -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') \ No newline at end of file