Skip to content

Commit

Permalink
Remove before_first_request
Browse files Browse the repository at this point in the history
  • Loading branch information
noahpistilli committed Oct 2, 2023
1 parent 769ce69 commit d92f015
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions room.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
login.init_app(app)


@app.before_first_request
def initialize_server():
with app.app_context():
# Ensure our database is present.
db.create_all()

Expand Down

0 comments on commit d92f015

Please sign in to comment.