Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chap 23: api #57

Closed
eriksays opened this issue Dec 24, 2017 · 1 comment
Closed

chap 23: api #57

eriksays opened this issue Dec 24, 2017 · 1 comment
Assignees
Labels

Comments

@eriksays
Copy link

need to add that we put the following into init.py
otherwise, i got 404 errors
thanks

from app.api import bp as api_bp
app.register_blueprint(api_bp, url_prefix='/api')
@miguelgrinberg
Copy link
Owner

Ah yes, sorry about that. This change is in the code, but somehow I missed it in the text. I'll add it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants