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

In Q&A, answer about hosting for tests is misleading #994

Closed
barakhub opened this issue Dec 4, 2014 · 4 comments
Closed

In Q&A, answer about hosting for tests is misleading #994

barakhub opened this issue Dec 4, 2014 · 4 comments

Comments

@barakhub
Copy link

barakhub commented Dec 4, 2014

In https://www.polymer-project.org/resources/faq.html#is-the-code-hosted-on-a-cdn it's suggested that for tests, files hosted on polymer-project.org can be used:

For testing and reproducing bugs, you can link to the current versions of the webcomponents.js and polymer.html files on polymer-project.org:

<script src="//polymer-project.org/webcomponents.js"></script>

Actually, when I tried this, I got the following error on Chrome:

Redirect at origin 'http://polymer-project.org' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8000' is therefore not allowed access.

@robdodson
Copy link
Contributor

did you link to http:// or https://, not sure if that would make a difference but I believe we redirect to https

@sjmiles
Copy link
Contributor

sjmiles commented Dec 4, 2014

I believe you have to include www, so try `http://www.polymer-project.org'
instead.

On Thu, Dec 4, 2014 at 8:55 AM, Rob Dodson notifications@github.com wrote:

did you link to http:// or https://, not sure if that would make a
difference but I believe we redirect to https


Reply to this email directly or view it on GitHub
#994 (comment).

@arthurevans
Copy link

Yep. Sorry about that -- the bare domain stopped working when we rolled out HTTPS for the site. I'll update the FAQ.

@ebidel
Copy link
Contributor

ebidel commented Dec 4, 2014

Moved to Polymer/old-docs-site#802

@ebidel ebidel closed this as completed Dec 4, 2014
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