Obtain the endpoint URL of the currently running val.

import { getEndpointUrl } from 'https://esm.town/v/g/getEndpointUrl'; const ENDPOINT_URL = getEndpointUrl(import.meta.url);

Migrated from folder: util/getEndpointUrl