Request wrong asset file url #7917
-
Hi, I'm using the new Vite + Express template at https://github.com/remix-run/remix/tree/main/templates/unstable-vite-express, and deploy to google cloud function for testing, but the JS files are not found. How to fix this? ![]() Actual (not found): https://asia-southeast1-my-project-1540367072726.cloudfunctions.net/build/assets/entry.client-633fb105.js Repo: https://github.com/truongtrongtin/airbnb-web-client |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Fixed that by adding |
Beta Was this translation helpful? Give feedback.
Fixed that by adding
publicPath
into vite.config.tstruongtrongtin/airbnb-web-client@4b35e4f