Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Rename server.py to app.py for default Flask app discovery #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stennie
Copy link

@stennie stennie commented Jan 25, 2024

Rename server.py to app.py so Flask app discovery finds this by default.

Current behaviour results in an error for flask run:

Error: Could not locate a Flask application. Use the 'flask --app' option, 'FLASK_APP' environment variable, or a 'wsgi.py' or 'app.py' file in the current directory.

@stennie stennie requested a review from james-fl0 January 25, 2024 00:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant