Publishing websites (set a subfolder) #164
Unanswered
erisvaldojunior
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Our CD serves the website in a subfolder like myurl.com/main/version/.
Before, when using Webpack, we set it on package.json "homepage": "/main/version", as said here https://docs.expo.dev/distribution/publishing-websites/
Now, after migrating to Metro Web, seems like this is not read anymore, and when the page is opened console shows an error because it is looking for /bundles/web-...js instead of /main/version/bundles/web-...js.
How should I set the path to metro web?
Beta Was this translation helpful? Give feedback.
All reactions