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

Update Middleware for Edge Environment Compatibility #55

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hisachin
Copy link

Description

Issue:
The Vercel build was failing due to incompatibility with the Edge environment in the current middleware implementation. The issue was identified when deploying the application, resulting in runtime errors specific to Edge functions.

Solution:
Updated the middleware code to ensure compatibility with Vercel's Edge environment. This includes modifying the API routes and request handling logic to align with Edge function requirements, ensuring seamless deployment and execution.

Changes Made

  • Refactored middleware.js to support Edge environment.
  • Updated API route handlers to use Edge-compliant syntax.

Copy link

vercel bot commented Aug 16, 2024

Someone is attempting to deploy a commit to the mickasmt's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

@luiseduardoluz luiseduardoluz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

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 this pull request may close these issues.

2 participants