Issue with Sveltekit and ISR on Vercel #2484
Unanswered
psntr
asked this question in
[Paraglide] Svelte + SvelteKit
Replies: 0 comments 3 replies
-
There currently is an issue with SvelteKit's
There isn't a technical reason, it's just nicer to not have it. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
For a projet we are deploying our app on Vercel. We wanted to take advantage of the ISR function that Vercel offers with Sveltekit. But it seems that's not possible to make it work unless the we add the
[[lang]]
folderroute
.In general we prefer to keep the lang in the URL, so prefixing the language has been set already via
prefixDefaultLanguage: "always"
in/src/lib/i18n.js
. Is there a reason we shouldn't use the [[lang]] folder in first place?A note, as said earlier, if we don't have the lang folder, the website returns an error 500.
Beta Was this translation helpful? Give feedback.
All reactions