Skip to content

Commit

Permalink
Set hasjob to load config from .env files and override instance config
Browse files Browse the repository at this point in the history
  • Loading branch information
miteshashar committed Aug 8, 2023
1 parent c6a0783 commit c448777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hasjob/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
from .models import db # isort:skip

# Configure the app
coaster.app.init_app(app)
coaster.app.init_app(app, ['py', 'env'], env_prefix=['FLASK'])
db.init_app(app)
db.app = app
migrate = Migrate(app, db)
Expand Down

0 comments on commit c448777

Please sign in to comment.