Skip to content

Commit

Permalink
chore: remove commented out line
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenix-ru committed Nov 22, 2024
1 parent ea32f8d commit 2ece891
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/runtime/utils/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export async function _fetch<T>(nuxt: ReturnType<typeof useNuxtApp>, path: strin
// Prevent callback recursion when doing internal routing
if (runtimeConfig.public.auth.disableInternalRouting === false) {
const currentPath = nuxt.ssrContext?.event?.path
// const isErrorUrl = nuxt.ssrContext?.error &&
if (currentPath?.startsWith(joinedPath)) {
console.error(`${ERROR_PREFIX} Recursion detected at ${joinedPath}. Have you set the correct \`auth.baseURL\`?`)
throw new FetchConfigurationError('Server configuration error')
Expand Down

0 comments on commit 2ece891

Please sign in to comment.