fix. 다국어 dataResourcesUrl경로 env로 수정

This commit is contained in:
clkim
2025-11-03 11:17:27 +09:00
parent 77e0724c2b
commit 4847db48c6
8 changed files with 16 additions and 10 deletions

View File

@@ -15,14 +15,12 @@ const props = defineProps<Props>()
// Configuration
const runtimeConfig = useRuntimeConfig()
const runType = runtimeConfig.public.runType
const staticUrl = runtimeConfig.public.staticUrl
const multilingualBaseApiUrl = `${staticUrl}/${runType}/test`
const dataResourcesUrl = runtimeConfig.public.dataResourcesUrl
const multilingualFileName = 'test_homepage_brand_download.json'
// Multilingual
const resultGetMultilingual = await useGetMultilingual({
baseApiUrl: multilingualBaseApiUrl,
baseApiUrl: dataResourcesUrl,
fileName: multilingualFileName,
})
const { tm, locale }: any = useI18n({
@@ -158,7 +156,7 @@ const handleMoveFocus = (target: 'pc' | 'mobile') => {
padding: { left: 0, right: 0 },
},
}"
class="overflow-hidden w-[100vw] px-[20px] ml-[-20px] mt-[16px] sm:px-[40px] sm:ml-[-40px] md:w-full md:px-0 md:mt-[24px] md:ml-0"
class="overflow-hidden min-w-[320px] w-[100vw] px-[20px] ml-[-20px] sm:px-[40px] sm:ml-[-40px] md:w-full md:px-0 md:ml-0"
>
<SplideSlide
v-for="platform in platformList"