Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using e.g. url.pathname throws error #8

Open
belafonte opened this issue Jan 3, 2022 · 0 comments
Open

using e.g. url.pathname throws error #8

belafonte opened this issue Jan 3, 2022 · 0 comments

Comments

@belafonte
Copy link

belafonte commented Jan 3, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant