I am trying your example svelte-animated and getting this error
TypeError: res.redirect is not a function
Also is this SSR ?
#62 might be a duplicate of this one
I made PR.