Nihan
How do you use rewrite in production?
Hello,
I have a simple solid start app. It has a backend server written using nestjs.
I was using vite proxy to rewrite /api routes to the backend url. Pushed the app to production today in digital ocean.
Took a while for my dumbass to figure out that vite server.proxy doesn't work after building the app. It's only for the dev server.
So how do you actually use a rewrite here on solid start ?
Thanks for reading..
2 replies