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

Bug #5

Open
jeroen opened this issue Dec 1, 2014 · 0 comments
Open

Bug #5

jeroen opened this issue Dec 1, 2014 · 0 comments

Comments

@jeroen
Copy link
Member

jeroen commented Dec 1, 2014

Someone on SO says:

Finally I made it work but I had to comment this line in opencpu-0.4.js, in r_fun_ajax function: //in case of cors we translate the relative path if(r_cors){ //loc = r_path.protocol + "//" + r_path.host + loc; } Loc variable already contained full path, host and location, and in this line path was added again, returning a wrong location. Commenting that line I got the right location and my example started to work fine.

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

1 participant