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

Incorrect url rewrites when "homepage" parameter is set #152

Open
immanuel-h opened this issue Feb 14, 2023 · 0 comments
Open

Incorrect url rewrites when "homepage" parameter is set #152

immanuel-h opened this issue Feb 14, 2023 · 0 comments

Comments

@immanuel-h
Copy link

Hi,

Steps to reproduce

  1. set "homepage" in package.json to /fresco
  2. npm run build (even outputs correctly "The project was built assuming it is hosted at /fresco/")
  3. host the generated package somehow under /fresco (eg. simply in nginx)
  4. go to your page

Expected: url rewritten to http://[yoursite]/fresco/styles/add/scratch

Actual: url rewritten to http://[yoursite]/styles/add/scratch

This is not a concern as long as the user does not reload the page, but once they do it actually breaks stuff.

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

1 participant