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

Possibly pass event through to the router #6

Open
repzip opened this issue Jun 24, 2021 · 0 comments
Open

Possibly pass event through to the router #6

repzip opened this issue Jun 24, 2021 · 0 comments

Comments

@repzip
Copy link

repzip commented Jun 24, 2021

Hi,

I was playing with workers sites yesterday but ran into a problem trying to integrate it with itty router.

The core issue is that to get the static files you need to send the "event" itself and not the request.

Can anyone think of a workaround for this? As itty router only wants the event.request object.

Thank you in advance.

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

1 participant