fix. 코드 리팩토링
This commit is contained in:
@@ -140,7 +140,6 @@ export default defineEventHandler(async event => {
|
||||
}
|
||||
|
||||
const stoveApiServerBaseUrl = runtimeConfig.public.stoveApiUrlServer
|
||||
const baseDomain = runtimeConfig.public.baseDomain
|
||||
|
||||
let gameDataResponse: GameDataResponse | null = null
|
||||
let gameDataLangCodes: string[] | null = null
|
||||
@@ -182,7 +181,10 @@ export default defineEventHandler(async event => {
|
||||
// 1-1. 정적 파일 패스
|
||||
if (isStaticFile(event.path)) return
|
||||
|
||||
// 1-2. 특정 경로 패스 (API, 리소스)
|
||||
// 1-2. /inspection 패스
|
||||
if (fullPath.includes('/inspection')) return
|
||||
|
||||
// 1-3. 특정 경로 패스 (API, 리소스)
|
||||
if (shouldSkipPath(fullPath)) return
|
||||
|
||||
// 캐시 키 생성 (게임 ID 포함하여 충돌 방지)
|
||||
|
||||
Reference in New Issue
Block a user