You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As described here, fetch calls made during SSR can be replaced by function calls when the origin is the same as the application. This is good in many cases, but causes problems when the application is running behind a reverse-proxy and you are making an API call to another service proxied under a different path, but the same domain.
For example, I might have the following:
example.com/trivia-api -> backend api
example.com/trivia -> svelte kit application
Requests in this case should go through the proxy in order to resolve correctly, instead of being transformed into function calls.
Describe the proposed solution
A configuration option to turn off this behaviour.