using url.pathname in load function throws error:
Method pathname called on incompatible receiver [object Object]
and adding headers to svelte config does not fix the problem:
https://kit.svelte.dev/docs#configuration-headers
is there another workaround?
Thanks