-
Notifications
You must be signed in to change notification settings - Fork 11
GopherJS Playground: Snippets are failing to load/save due to host name change. #20
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
Comments
Fixed with gopherjs/snippet-store@06a3903 and deploying the new version of |
Thx for the fix. What about putting the snippet store to a proper subdomain? |
What do you have in mind? |
Just |
That is completely okay with me. It requires 3 steps:
|
DNS record created. |
Port 80 redirect rule added, http://snippets.gopherjs.org/p/D9L6MbPfE4 now works. The last remaining step is to change |
Okay, I've started the last step in PR #21, but neelance/go-angularjs#7 needs to be merged first and then the playground needs to be rebuilt (run |
Last step done in #21, and with that the transition to |
Snippets are currently not working. It seems that the hostname was previously
http://gopherjs.org
, but now it redirects tohttp://www.gopherjs.org
(/cc @neelance, @ajhager), which results in the XHR failing:XMLHttpRequest cannot load http://snippets.gotools.org/p/D9L6MbPfE4. The 'Access-Control-Allow-Origin' header has a value 'http://gopherjs.org' that is not equal to the supplied origin. Origin 'http://www.gopherjs.org' is therefore not allowed access.
The text was updated successfully, but these errors were encountered: