Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

blueprint demo issue #55

Open
JackyChou opened this issue Sep 28, 2017 · 1 comment
Open

blueprint demo issue #55

JackyChou opened this issue Sep 28, 2017 · 1 comment

Comments

@JackyChou
Copy link

I found that blueprint demo in Readme register like

app.register_blueprint(html, url_prefix=r'/')
sockets.register_blueprint(ws, url_prefix=r'/')

actually this usage will got 404.

Maybe register like this is better

app.register_blueprint(html)
sockets.register_blueprint(ws)

or

app.register_blueprint(html, url_prefix=r'/test')
sockets.register_blueprint(ws, url_prefix=r'/test')

Thank you for your time.

@dragonwt
Copy link

great ! please change example ,I have work all night until i find this.

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

No branches or pull requests

2 participants