fix. gnb 없는 케이스 추가
This commit is contained in:
@@ -9,7 +9,10 @@ import {
|
||||
} from 'h3'
|
||||
import { ssrGetFinalLocale } from '../../utils/localeUtil'
|
||||
import type { GameDataResponse } from '../../types/api/gameData'
|
||||
import type { ResGetInspectionData, WebInspectionData } from '../../types/InspectionType'
|
||||
import type {
|
||||
ResGetInspectionData,
|
||||
WebInspectionData,
|
||||
} from '../../types/InspectionType'
|
||||
import { isStaticFile } from '#layers/utils/commonUtil'
|
||||
import { getTrueClientIp } from '#layers/utils/apiUtil'
|
||||
|
||||
@@ -262,6 +265,8 @@ export default defineEventHandler(async event => {
|
||||
query: queryParams,
|
||||
})) as GameDataResponse | null
|
||||
|
||||
console.log('🚀 ~ gameData response:', response)
|
||||
|
||||
// 언어패스 쿠키 굽기 - 장기방안에서는 굽지않음
|
||||
if (initLangCodes?.includes(finalLocale)) {
|
||||
setFinalLocaleCookie(event, finalLocale, baseDomain)
|
||||
|
||||
Reference in New Issue
Block a user