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

How can i set client origin. #21

Closed
nomanbiniqbal opened this issue Dec 6, 2017 · 4 comments
Closed

How can i set client origin. #21

nomanbiniqbal opened this issue Dec 6, 2017 · 4 comments

Comments

@nomanbiniqbal
Copy link

I m not able to connect with server due to access origin is not present in request.
this lib provide to set origin
https://github.com/danielrhodes/Swift-ActionCableClient
is there any option to set origin

@MSchmidt
Copy link

MSchmidt commented Dec 13, 2017

Just add your Origin as Header:

headers.put("Origin", "https://your-origin.tld");

@flyfy1
Copy link

flyfy1 commented May 15, 2018

thanks, that's really helpful

@fabiantorresm
Copy link

fabiantorresm commented May 24, 2018

Hi, can you help me?
It turns out that if I do all the documentation and if I can obtain data, but I can not send data using @perform, with this is solved or I have something to do in my server rails 5?

@h0jeZvgoxFepBQ2C
Copy link
Collaborator

Please open a new issue for this @fabiantorresm if your problem is still persisting, the current issue will be marked as fixed when I push my recent git commits.

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

No branches or pull requests

5 participants