diegopamio / diegopamio/angular-sails-bind

Connect on a different url?

Open
#34 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
135
Forks
23
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.