Skip to content

Warn when running middleware at origin #1379

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

Closed
ascorbic opened this issue Jun 10, 2022 · 0 comments · Fixed by #1425
Closed

Warn when running middleware at origin #1379

ascorbic opened this issue Jun 10, 2022 · 0 comments · Fixed by #1425
Assignees

Comments

@ascorbic
Copy link
Contributor

With middleware soon to be running for every request, using it without edge support enabled will effectively disable the CDN, so is a really bad idea. We should give a prominent warning if a site uses middleware and hasn't enabled edge functions.

@sarahetter sarahetter self-assigned this Jun 28, 2022
@kodiakhq kodiakhq bot closed this as completed in #1425 Jun 29, 2022
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

Successfully merging a pull request may close this issue.

2 participants