functions-relay
                                
                                 functions-relay copied to clipboard
                                
                                    functions-relay copied to clipboard
                            
                            
                            
                        RelayError when invoking edge function using Next middleware
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:
- Create the default next project using create-next-app
- Call any supabase edge function in any API route
- See error
Expected behavior
Was working fine till yesterday. Not sure what changed