Running into issues with SvelteKit deployment
I am running into
Is your app correctly listening on $PORT?
issues when deploying with SvelteKit (and Vite).
This is my vite.config.js
When I add PORT variable in the Railway app (and I set up some random value), it does deploy on the localhost:XXXX.
Why is this happening?5 Replies
Project ID:
0885c9cf-f4bd-4d7f-8cad-71dd218e6114
⚠️ experimental feature
0885c9cf-f4bd-4d7f-8cad-71dd218e6114
Fixed it with this.