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

RelayError when invoking edge function using Next middleware #26

Open
rbkayz opened this issue Jan 6, 2023 · 0 comments
Open

RelayError when invoking edge function using Next middleware #26

rbkayz opened this issue Jan 6, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@rbkayz
Copy link

rbkayz commented Jan 6, 2023

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

@rbkayz rbkayz added the bug Something isn't working label Jan 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant