api 설정 분리

This commit is contained in:
2025-08-27 13:06:13 +09:00
parent ab84ef0d0e
commit ea3ec7de3b
5 changed files with 19 additions and 12 deletions

View File

@@ -37,7 +37,8 @@ export default defineNuxtConfig({
},
runtimeConfig: {
public: {
apiBase: 'http://localhost'
apiBase: process.env.API_BASE || 'http://localhost',
contextPath: process.env.CONTEXT_PATH || '/service',
}
},
typescript: {