Merge branch 'feature/202501107-all' into feature/20251103_cl_FX_VIDEO_01

This commit is contained in:
clkim
2025-11-04 10:18:15 +09:00
10 changed files with 58 additions and 64 deletions

View File

@@ -15,9 +15,14 @@ export default defineNuxtRouteMiddleware(async (to, _from) => {
//현재 url에서 게임 도메인만 추출
const currentDomain = window.location.hostname;
const config = useRuntimeConfig()
const req: GameDataRequest = {
gameDomain: `${currentDomain}`,
langCode: `${currentLangCode}`,
game_alias: '',
lang_code: `${currentLangCode}`,
baseApiUrl: `${config.public.stoveApiUrl}`,
gameId: '',
}
const { getGameDataExternal } = useGetGameDataExternal()
await getGameDataExternal(req)

View File

@@ -15,7 +15,7 @@ export default defineNuxtRouteMiddleware(async (to) => {
// domain: baseDomain
// })
const finalLocale = csrGetFinalLocale(to.path)
const finalLocale = csrGetFinalLocale(to.path, gameData.value.lang_codes)
// localeCookie.value = finalLocale.toUpperCase()
// 웹 점검 -----