Open malikbenkirane opened 4 years ago
Hi,
https://github.com/alshdavid/crayon/blob/0803146781fa2f9e5d57e05a6044a52b5643e211/examples/svelte/svelte-animated/src/main.js#L22
Shouldn't it be req.redirect instead of res.redirect ?
req.redirect
res.redirect
Same thing for app.path with res.mount.
app.path
res.mount
Or should it be (res, req) => instead of (req, res) ?
(res, req) =>
(req, res)
It is req.redirect and req.mount. I made PR.
Hi,
https://github.com/alshdavid/crayon/blob/0803146781fa2f9e5d57e05a6044a52b5643e211/examples/svelte/svelte-animated/src/main.js#L22
Shouldn't it be
req.redirect
instead ofres.redirect
?Same thing for
app.path
withres.mount
.Or should it be
(res, req) =>
instead of(req, res)
?