You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The server that runs package.elm-lang.org should allow CORS
One particular reason: The Task tutorial walks users through how to make HTTP requests to http://package.elm-lang.org/packages/elm-lang/core/latest/README.md. Anyone trying to follow along, running their copy of the code through elm-make or elm-reactor will end up with
XMLHttpRequest cannot load http://package.elm-lang.org/packages/elm-lang/core/latest/README.md. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8000' is therefore not allowed access.
The text was updated successfully, but these errors were encountered:
I think the task tutorial should choose something else.
I don't want to give unrestricted access to the resources on this website. I actually do want to add it for elm-lang.org in particular, but not for anyone.
The server that runs
package.elm-lang.org
should allow CORSOne particular reason: The Task tutorial walks users through how to make HTTP requests to
http://package.elm-lang.org/packages/elm-lang/core/latest/README.md
. Anyone trying to follow along, running their copy of the code throughelm-make
orelm-reactor
will end up withThe text was updated successfully, but these errors were encountered: