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

Publicly hosted examples at examples.yew.rs are broken #3694

Closed
iangrunert opened this issue Jul 26, 2024 · 2 comments · Fixed by #3701
Closed

Publicly hosted examples at examples.yew.rs are broken #3694

iangrunert opened this issue Jul 26, 2024 · 2 comments · Fixed by #3701
Labels

Comments

@iangrunert
Copy link

Problem
In examples/README.md it states there's publicly hosted examples at https://examples.yew.rs/<EXAMPLE> e.g. https://examples.yew.rs/todomvc or https://examples.yew.rs/async_clock/.

These publicly hosted examples no longer work - the .css, .js and .wasm files 404, so a blank page renders instead.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Go to https://examples.yew.rs/async_clock/
  2. See blank page

Expected behavior
Async clock example renders

@WorldSEnder
Copy link
Member

I'm gonna re-open this because upon double checking, some examples seem to get invalid integrity hashes (SRI) for their resources. We don't do any post-processing, but I currently do not quite understand how they are generated and can be controlled in trunk.

@WorldSEnder
Copy link
Member

WorldSEnder commented Aug 22, 2024

Workaround is to disable sri for now (part of #3713). I'm thinking about including more logging to debug this in example building workflow, since the locally deployed version (with firebase emulators:start) works fine even with resource integrity included and the hashes check out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants