Skip to content

fix: add missing middleware runtime file #762

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

Merged
merged 1 commit into from
Nov 3, 2021
Merged

Conversation

ascorbic
Copy link
Contributor

@ascorbic ascorbic commented Nov 3, 2021

Summary

Adds a missing file to the function bundle, required by middleware in Next 12

Test plan

  1. Visit the Deploy Preview at /middle/
  2. Observe the message "hello middleware"

Relevant links (GitHub issues, Notion docs, etc.) or a picture of cute animal (small picture)

Fixes #760

image

@ascorbic ascorbic requested a review from a team November 3, 2021 13:48
@github-actions github-actions bot added the type: bug code to address defects in shipped code label Nov 3, 2021
@ascorbic ascorbic self-assigned this Nov 3, 2021
@kodiakhq kodiakhq bot merged commit 83378b4 into main Nov 3, 2021
@kodiakhq kodiakhq bot deleted the fix/middleware-bundle branch November 3, 2021 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge type: bug code to address defects in shipped code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Next.js 12 Middleware not working
2 participants