Aral Balkan on Nostr: New Kitten update: changes slash forwarding behaviour. My previous implementation was ...
New Kitten update: changes slash forwarding behaviour.
My previous implementation was kludgy. Now Kitten only forwards to canonical slashed version of URLs for index paths (eg., /foo/index.html, /bar/index.page.js, etc.) Non-index files (e.g., /foo.html or /bar.page.js) are accessed via URLs without trailing slashes.
This is primarily to ensure that relative links work as they intuitively should.
More: https://codeberg.org/kitten/app/issues/195#issuecomment-2083117
Again, if you notice any issues, let me know.
#Kitten #SmallWeb
My previous implementation was kludgy. Now Kitten only forwards to canonical slashed version of URLs for index paths (eg., /foo/index.html, /bar/index.page.js, etc.) Non-index files (e.g., /foo.html or /bar.page.js) are accessed via URLs without trailing slashes.
This is primarily to ensure that relative links work as they intuitively should.
More: https://codeberg.org/kitten/app/issues/195#issuecomment-2083117
Again, if you notice any issues, let me know.
#Kitten #SmallWeb