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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃悰 Bug]: waitUntil has this binding on ctx, CHANGELOG example is broken #732

Open
1 task
sleexyz opened this issue Apr 6, 2024 · 0 comments
Open
1 task
Labels
bug Something isn't working

Comments

@sleexyz
Copy link

sleexyz commented Apr 6, 2024

next-on-pages environment related information

No response

Description

The CHANGELOG has an example of destructuring waitUntil from ctx.

But this isn't actually supported. I spent 3 hours pulling my hair out trying to understand why my local preview and cloud previews were broken and then I stumbled upon on this post: https://www.answeroverflow.com/m/1131117840112549918

calling ctx.waitUntil without the destructure fixes the issue.

Reproduction

No response

Pages Deployment Method

Pages CI (GitHub/GitLab integration)

Pages Deployment ID

No response

Additional Information

No response

Would you like to help?

  • Would you like to help fixing this bug?
@sleexyz sleexyz added the bug Something isn't working label Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant