We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When trailingSlash is set to always, the /.../__data.json request gets redirected to /.../.
trailingSlash
always
/.../__data.json
/.../
https://stackblitz.com/edit/sveltejs-kit-template-default-xp9vnn
Click the Click me! link.
Click me!
No response
Not relevant
serious, but I can work around it
To fix it, we need to subtract 1 from DATA_SUFFIX.length if options.trailing_slash === 'always' here:
DATA_SUFFIX.length
options.trailing_slash === 'always'
kit/packages/kit/src/runtime/server/index.js
Line 62 in a72123a
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
When
trailingSlash
is set toalways
, the/.../__data.json
request gets redirected to/.../
.Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-xp9vnn
Click the
Click me!
link.Logs
No response
System Info
Severity
serious, but I can work around it
Additional Information
To fix it, we need to subtract 1 from
DATA_SUFFIX.length
ifoptions.trailing_slash === 'always'
here:kit/packages/kit/src/runtime/server/index.js
Line 62 in a72123a
The text was updated successfully, but these errors were encountered: