Skip to main content

Items tagged with: NodeJS

Search

Items tagged with: NodeJS




New Kitten release

• Socket routes now have precendence in the router.

This stops wildcard page routes from capturing the default socket routes that Kitten creates to enable the Streaming HTML workflow.

e.g., Previously, the following route:

/videos/index_[slug].page.js

Could not connect to its default socket (/videos/default.socket) because default.socket would be captured by the [slug] parameter.

Now, it will work as intended as the /videos/default.socket (a socket route) has precendence over index_[slug].page.js (a page route).

Learn more about Kitten’s Streaming HTML workflow here:
kitten.small-web.org/tutorials…

Enjoy!

:kitten:💕

#Kitten #SmallWeb #SmallTech #StreamingHTML #routing #NodeJS #web #dev #JavaScript #JS


New Kitten release

• Fixes edge case where the sign in page, if left open for longer than the length of a session, would throw an error on sign-in attempt (because the challenge for the public-key authentication Kitten apps use would have expired alongside).

kitten.small-web.org

:kitten:💕

#Kitten #SmallWeb #SmallTech #publicKeyAuthentication #sessions #web #dev #NodeJS #JavaScript