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

Pass URI to socket.io-client to specify namespace #1543

Closed
wants to merge 1 commit into from

Commits on May 7, 2021

  1. Pass URI to socket.io-client to specify namespace

    The example `app-namespace.py` which uses `templates/index.html`
    did not correctly initialize the socket.io-client with the `/test`
    namespace.  This prevented the client from communicating with
    the example application.
    
    This modification, constructs the URI based upon the current
    `window.location`, and apppends `/test` so the client subscribes
    to the correct namespace.
    jimklo committed May 7, 2021
    Copy the full SHA
    7b1269d View commit details
    Browse the repository at this point in the history