Seo – How to get the full URL requested in SvelteKit, on the server side?
I was trying to access the full URL to prepare the page head in sveltekit, I tried window.location.origin but then SvelteKit has a 500 error with ReferenceError: window is not defined <svelte:head> <!-- Set Hreflang for SEO https://developer.chrome.com/docs/lighthouse/seo/hreflang/ --> <link…