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 public path of static assets #909
Conversation
🦋 Changeset detectedLatest commit: adeee80 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
83de5a7
to
8bc3373
Compare
I've fixed an unrelated problem with the Google Ad Manager E2E tests. |
@luisherranz i updated the frontity code same as you did it in pull request but some of the images have appeared, most of them are still missing. The path on missing images is written as attached in below picture:
|
Thanks, @AsadZahed. My mistake, it should be a global replace. I'll fix it right away 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🙂
Thanks Mario. |
HI @luisherranz Thanks for the update, i just moved to new version but the font has still issues on reload of the page. I will be thankful if you look into it. |
Would you mind opening a new issue with information about the problem? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me :)
EDIT: Too late xD
Setting the public path to |
What:
Fix the public path of the assets (images, fonts, css...).
Why:
After the switch to dynamic public paths (#890), they public path of the static assets was not working correctly anymore.
How:
It seems like changing the dynamic public path (
__webpack_public_path__
) at request time is not possible, so I'm just doing a string replace in the SSRed HTML.Tasks:
Unrelated Tasks
Additional Comments