Skip to content

Update Middleware for Edge Environment Compatibility#55

Open
hisachin wants to merge 1 commit into
mickasmt:mainfrom
hisachin:fix_vercel_build_issue
Open

Update Middleware for Edge Environment Compatibility#55
hisachin wants to merge 1 commit into
mickasmt:mainfrom
hisachin:fix_vercel_build_issue

Conversation

@hisachin

Copy link
Copy Markdown

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.

@vercel

vercel Bot commented Aug 16, 2024

Copy link
Copy Markdown

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.

@luiseduardoluz luiseduardoluz left a comment

Copy link
Copy Markdown

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