Netlify edge endpoint base url?

https://interphew.netlify.app/ 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('https://interphew.netlify.app/reviews')
    const data = await response.json()
    store.reviews = data
  });

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