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

[Compose resources]: Make url paths absolute for JS/Web #4765

Open
rustamsmax opened this issue May 6, 2024 · 1 comment
Open

[Compose resources]: Make url paths absolute for JS/Web #4765

rustamsmax opened this issue May 6, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request resources web

Comments

@rustamsmax
Copy link

Please, make url paths absolute for JS!

NOT: composeResources/package.name/values/strings.commonMain.cvr
BUT: /composeResources/package.name/values/strings.commonMain.cvr

When window url is dynamically changed via window.history.pushState(data, url, title)

https://domain.com -> https://domain.com/user/dashboard

resources cannot be found giving 404 error

@rustamsmax
Copy link
Author

rustamsmax commented May 15, 2024

Here's a temporary workaround

telegram-cloud-photo-size-2-5341559966458306041-y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request resources web
Projects
None yet
Development

No branches or pull requests

3 participants