Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

RelayError when invoking edge function using Next middleware #26

Open
@rbkayz

Description

@rbkayz

Bug report

I'm facing a relay error whenever I'm invoking an edge function using Next Middleware. Works completely fine if I'm calling the function directly from the FE (i'd like to avoid exposing this to hide some of the headers)

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Create the default next project using create-next-app
  2. Call any supabase edge function in any API route
  3. See error

Expected behavior

Was working fine till yesterday. Not sure what changed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions