diff --git a/Procfile b/backend/Procfile similarity index 100% rename from Procfile rename to backend/Procfile diff --git a/backend/main.py b/backend/app.py similarity index 99% rename from backend/main.py rename to backend/app.py index ce24fa9..a36000c 100644 --- a/backend/main.py +++ b/backend/app.py @@ -6,7 +6,7 @@ import os import json from flask_basicauth import BasicAuth from helpers import nocache -app = Flask("backend", static_url_path='/static') +app = Flask(__name__, static_url_path='/static') basic_auth = BasicAuth(app) accept_entries = False diff --git a/backend/wsgi.py b/backend/wsgi.py new file mode 100644 index 0000000..210a38e --- /dev/null +++ b/backend/wsgi.py @@ -0,0 +1,4 @@ +from app import app + +if __name__ == "__main__": + app.run() \ No newline at end of file