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

SvelteKit trailingSlash configuration entry is not respected #49

Open
Mikk36 opened this issue Sep 6, 2021 · 1 comment
Open

SvelteKit trailingSlash configuration entry is not respected #49

Mikk36 opened this issue Sep 6, 2021 · 1 comment

Comments

@Mikk36
Copy link

Mikk36 commented Sep 6, 2021

sk-auth assumes the setting to be either never or ignore and it doesn't work well with always (/api/auth/signout does not work at all).

https://kit.svelte.dev/docs#configuration-trailingslash

@kdheepak
Copy link

kdheepak commented Mar 14, 2022

I'm having the same issue with trailingSlash: 'always'. Is there a workaround for this? SvelteKit doesn't provide a per page configuration, so I'm stuck between breaking some existing URLs for users by not using trailingSlash: 'always' and not using this.

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

2 participants