You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Describe the bug
When I use /client/* route in Sappers file-system routing I am getting plain text error not found.
To Reproduce
Launch Sapper in dev mode (I didn't test this with other then dev)
Create file in /routes/client/new.svelte with some content
Visit this route in browser as localhost:3000/client/new
You will see mentioned plain text error
Expected behavior
I see contents of new.svelte page.
Information about your Sapper Installation:
Sapper: 0.27.9
Svelte: 3.13
Browser: Firefox 74.0
OS: Kubuntu 18.04
Severity
Low - annoying.
Additional context
I think this is because of /client native Sappers files that are automatically generated by compilation but if this is the case i think some compile-time error or warning would be appropriate.
If this is intended behavior I think this needs to be documented in the docs. I didn't see any "reserved" route names there (https://sapper.svelte.dev/docs/).
The text was updated successfully, but these errors were encountered:
MrSrsen
changed the title
Route with address "/client/ is not working
Route with address "/client/" is not working
Apr 2, 2020
I believe this would be fixed by changing the exception handling here to call next() to continue with the next middleware rather than immediately returning a 404.
Describe the bug
When I use
/client/*
route in Sappers file-system routing I am getting plain text errornot found
.To Reproduce
dev
mode (I didn't test this with other thendev
)/routes/client/new.svelte
with some contentlocalhost:3000/client/new
Expected behavior
I see contents of
new.svelte
page.Information about your Sapper Installation:
Severity
Low - annoying.
Additional context
I think this is because of
/client
native Sappers files that are automatically generated by compilation but if this is the case i think some compile-time error or warning would be appropriate.If this is intended behavior I think this needs to be documented in the docs. I didn't see any "reserved" route names there (https://sapper.svelte.dev/docs/).
The text was updated successfully, but these errors were encountered: