Closed simoneb closed 2 years ago
In one of the starters there is a fetch function configured as
export const $fetch = ky.extend({ prefixUrl: 'http://localhost:3000', })
This doesn't work when the application is deployed somewhere as the server needs to "call itself" and the client needs go to the right url where the application is running.
How do you handle this?
Prerequisites
Issue
In one of the starters there is a fetch function configured as
This doesn't work when the application is deployed somewhere as the server needs to "call itself" and the client needs go to the right url where the application is running.
How do you handle this?