Skip to content

Connect on a different url? #34

@misterch0c

Description

@misterch0c

I have an angularjs app running on port 3131. This is what I get in the console.

GET XHR http://127.0.0.1:3131/socket.io/ [HTTP/1.1 404 Not Found 2ms]
"
        Socket is trying to reconnect to Sails...
_-|>_-  (attempt #4)

"

So I've tried to change the url but the output stayed the same

io.sails.url = 'http://localhost:1337'; 

Is there a way to achieve this?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions