feat: 점검 페이지 추가, external gamedata 호출 추가

This commit is contained in:
“hyeonggkim”
2025-11-03 13:06:58 +09:00
parent 9062e45fff
commit 33aece1011
8 changed files with 114 additions and 47 deletions

View File

@@ -3,6 +3,7 @@ export default defineNuxtRouteMiddleware(async (to) => {
if (import.meta.client) {
const gameDataStore = useGameDataStore()
const { gameData } = storeToRefs(gameDataStore)
console.log("🚀 ~ 00000 gameData:", gameData.value)
const config = useRuntimeConfig()
// const baseDomain = `${config.public.baseDomain}`
@@ -15,13 +16,13 @@ export default defineNuxtRouteMiddleware(async (to) => {
// })
const finalLocale = csrGetFinalLocale(to.path)
console.log("🚀 ~ finalLocale:", finalLocale)
// localeCookie.value = finalLocale.toUpperCase()
// 웹 점검 -----
const { isWebInspection, getInspectionDataExternal } = useGetInspectionDataExternal()
await getInspectionDataExternal({ baseApiUrl: stoveApiUrl, gameId: stoveGameId })
// 게임 점검 -----
// const { checkGameMaintenance } = useGetGameMaintenance()
// await checkGameMaintenance({