dev: hotfix, default API_ORIGIN

This commit is contained in:
2025-10-16 12:55:22 +07:00
parent ad94e1d06f
commit 2b8c16043a
+2 -2
View File
@@ -5,9 +5,9 @@ import process from 'node:process'
export default defineNuxtConfig({
devtools: { enabled: true },
runtimeConfig: {
API_ORIGIN: process.env.NUXT_API_ORIGIN || 'https://main-api.dev-hopis.sabbi.id',
API_ORIGIN: process.env.NUXT_API_ORIGIN || 'http://localhost:3000',
public: {
API_ORIGIN: process.env.NUXT_API_ORIGIN || 'https://main-api.dev-hopis.sabbi.id',
API_ORIGIN: process.env.NUXT_API_ORIGIN || 'http://localhost:3000',
}
},
ssr: false,