Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

res instead of req with svelte example #62

Open
malikbenkirane opened this issue Jun 11, 2020 · 1 comment
Open

res instead of req with svelte example #62

malikbenkirane opened this issue Jun 11, 2020 · 1 comment

Comments

@malikbenkirane
Copy link

malikbenkirane commented Jun 11, 2020

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 ?

Same thing for app.path with res.mount.

Or should it be (res, req) => instead of (req, res) ?

@acim
Copy link
Contributor

acim commented Aug 18, 2020

It is req.redirect and req.mount. I made PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants