fix. gnb 작업 1차

This commit is contained in:
clkim
2025-10-02 17:34:41 +09:00
parent a70b3c8795
commit 1da6227c46
18 changed files with 413 additions and 448 deletions

View File

@@ -10,10 +10,11 @@ import { csrFormatJWT } from '#layers/utils/formatUtil'
*/
export const csrGoStoveLogin = () => {
const runtimeConfig = useRuntimeConfig()
const gameDataStore = useGameDataStore()
const loginUrl = runtimeConfig.public.stoveLoginUrl
const stoveGameId = runtimeConfig.public.stoveGameId
const stoveGameNo = runtimeConfig.public.stoveGameNo
const stoveGameId = gameDataStore.gameData?.game_id
const stoveGameNo = gameDataStore.gameData?.game_code
const redirectUrl = encodeURIComponent(location.href)
const url = `${loginUrl}?redirect_url=${redirectUrl}&inflow_path=${stoveGameId}&game_no=${stoveGameNo}`