export const fetchEndpointUrl = async ( ) : Promise < string > => { const getRequestOptions = { method : 'GET' } ; const response = await fetch ( '/getEndpointUrl' , getRequestOptions ) ; return await response . text ( ) ; } ;