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

blueprint demo issue #55

Open
Open
@JackyChou

Description

@JackyChou

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions