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

SHA hash mismatch? #68

Open
allthesignals opened this issue Mar 12, 2019 · 1 comment
Open

SHA hash mismatch? #68

allthesignals opened this issue Mar 12, 2019 · 1 comment
Assignees

Comments

@allthesignals
Copy link

I spun up an ember app today, I want to push it to GH pages, however, in Firefox, it redirects to the same route:

https://allthesignals.github.io/labs-upad-validate/labs-upad-validate/ (<- WHAT?!?!?!)

This was after trying something to address this error:

None of the “sha512” hashes in the integrity attribute match the content of the subresource.

(I reverted but) Why am I seeing errors about sha512 hash? I'm sure this is a really interesting part of web technology but why is Ember build giving me issues here?

In Chrome, it throws a bunch of console errors about broken links to asset files. Yes, I suspect I can address this problem by... what is it? Update rootURL? Add the prepend property to fingerprints in ember-cli-build?

Here's my repo now: https://github.com/allthesignals/labs-upad-validate.

Is there an implicit step that's missing from the README that we should add to avoid this? Sometimes I just want to push up a prototype of something to GH pages, but somehow I end up missing some hidden step. I just cannot see where I am failing to follow the instructions. This is not an org page or a user page (which I assume means the page that appears when you go to the user root page).

Please advise and I will be happy to PR an extra note to the README which I believe followed faithfully, thanks.

@knownasilya
Copy link
Contributor

knownasilya commented Mar 12, 2019

When installing with ember install it should run this code https://github.com/poetic/ember-cli-github-pages/blob/master/blueprints/ember-cli-github-pages/index.js#L25, which should avoid this issue as long as you build for production (should be the default in this case).

@knownasilya knownasilya self-assigned this Mar 12, 2019
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

2 participants