Skip to content

Commit

Permalink
Merge pull request #107 from vantage-ola/vercel-flask
Browse files Browse the repository at this point in the history
move instance out of create_app function
  • Loading branch information
vantage-ola authored Jul 22, 2024
2 parents 977a6f2 + aa68b70 commit 2689f55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tracknow/backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def create_app(config_class='config.Config'):

return app

app = create_app()

if __name__ == '__main__':
app = create_app()
app.run(debug=True)

0 comments on commit 2689f55

Please sign in to comment.