async function Autenticao() { const apiUrl = await getApiUrl(); const token = getAuthToken(); const response = await fetch(`${apiUrl}/mounting`, { method: 'GET', headers: { 'Content-Type': 'application/json', 'x-access-token': token ? token : '' } }); return { response, apiUrl }; // Retorne um objeto com a resposta e apiUrl }