Skip to content

Commit

Permalink
🐛 problema 404
Browse files Browse the repository at this point in the history
  • Loading branch information
1cgonza committed Mar 5, 2024
1 parent afb3f1e commit 6d57961
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/[...slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ if (esPaginaGeneral) {
}
}
} else {
throw createError({ statusCode: 404, statusMessage: 'La página no existe', fatal: true });
// TODO: ESTO ESTABA ROMPIENDO LA PàGINA, VER COMO MOSTRAR EL 404 CUANDO DE VERDAD ES 404
throw createError({ statusCode: 404, statusMessage: 'La página no existe', fatal: false });
}
}
Expand Down

0 comments on commit 6d57961

Please sign in to comment.