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

Fix serving of examples #3701

Merged
merged 1 commit into from
Aug 3, 2024
Merged

Conversation

WorldSEnder
Copy link
Member

Specifying an absolute URL as the public base is necessary since trunk 0.19

Description

Currently, examples are built and served in a way that, since trunk 0.19, links to wrong paths. E.g. "boids/index.html" links to "boids/some-resource.js" . By specifying an absolute public path, the links now point to "/boids/some-resource.js". The previously worked because an implicit "/" was added the specified path.

See also trunk-rs/trunk#668 for the issue introducing this change upstream.

Fixes #3694

Checklist

  • I have reviewed my own code
  • I have added tests

specifying an absolute URL as the public base is necessary since trunk 0.19
see also trunk-rs/trunk#668
@WorldSEnder WorldSEnder requested a review from ranile August 3, 2024 15:06
@WorldSEnder WorldSEnder merged commit 620d907 into yewstack:master Aug 3, 2024
12 of 13 checks passed
@WorldSEnder WorldSEnder added A-examples Area: The examples A-ci Area: The continuous integration meta Repository chores and tasks labels Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ci Area: The continuous integration A-examples Area: The examples meta Repository chores and tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Publicly hosted examples at examples.yew.rs are broken
2 participants