fix. gnb 작업 1차
This commit is contained in:
@@ -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}`
|
||||
|
||||
Reference in New Issue
Block a user