Netlify edge endpoint base url? is my website
its a Qwik framework that (theoretically, or at least in dev) creates an HTTP GET endpoint for you. Qwik City Endpoints and RESTful API - Qwik
I have created it under /reviews . I need to convert the base url of the request that’s consuming it to an ENV variable that is localhost when on dev mode and… .. something? on production. What’s that ‘something’ when using netlify edge?
tried below, didn’t work.

  useMount$(async () => {
    const response = await fetch('')
    const data = await response.json() = data

I’m not sure if I understand your questions completely, but maybe you’re looking for Edge Functions API | Netlify Docs?