chore: update nuxt config
This commit is contained in:
No files matched your search
+4
-7
@@ -1,17 +1,14 @@
|
||||
|
||||
import { config as dotenvConfig } from 'dotenv'
|
||||
import process from 'node:process'
|
||||
|
||||
dotenvConfig()
|
||||
|
||||
console.log(process.env.API_ORIGIN)
|
||||
console.log(process.env.NUXT_PUBLIC_SIMRS_USER_API_URL)
|
||||
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
devtools: { enabled: true },
|
||||
runtimeConfig: {
|
||||
API_ORIGIN: process.env.API_ORIGIN || 'https://main-api.dev-hopis.sabbi.id',
|
||||
API_ORIGIN: process.env.NUXT_API_ORIGIN || 'https://main-api.dev-hopis.sabbi.id',
|
||||
public: {
|
||||
API_ORIGIN: process.env.NUXT_API_ORIGIN || 'https://main-api.dev-hopis.sabbi.id',
|
||||
}
|
||||
},
|
||||
ssr: false,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user