refactor: 점검 수정

This commit is contained in:
“hyeonggkim”
2025-12-08 10:16:52 +09:00
parent 463a7da320
commit 90c5142603
5 changed files with 44 additions and 15 deletions

View File

@@ -1,12 +1,12 @@
export default defineNuxtRouteMiddleware(async to => {
try {
const { getPathAfterLanguage } = usePathResolver()
//error 발생시에는 미들웨어 실행하지 않음
//error 객체 조회
if (!import.meta.client) {
return
}
const { getPathAfterLanguage } = usePathResolver()
const pageUrl = getPathAfterLanguage(to.path)
// error 페이지는 API 호출하지 않음