use runtime config
All checks were successful
Build and Publish / build-release (push) Successful in 1m1s
All checks were successful
Build and Publish / build-release (push) Successful in 1m1s
This commit is contained in:
@@ -4,9 +4,8 @@ const devApiOrigin = 'https://dev.api.corredorconect.com'
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2026-02-25',
|
||||
modules: ['nuxt-open-fetch', '@nuxt/ui', '@nuxt/eslint', '@zitadel/nuxt-auth'],
|
||||
auth: {
|
||||
auth: {
|
||||
baseURL: '/api/auth',
|
||||
origin: process.env.AUTH_ORIGIN,
|
||||
provider: {
|
||||
type: 'authjs',
|
||||
trustHost: true,
|
||||
@@ -21,7 +20,13 @@ export default defineNuxtConfig({
|
||||
ui: {
|
||||
colorMode: false
|
||||
},
|
||||
runtimeConfig: {},
|
||||
runtimeConfig: {
|
||||
authOrigin: process.env.AUTH_ORIGIN || '',
|
||||
authSecret: process.env.AUTH_SECRET || '',
|
||||
zitadelDomain: process.env.ZITADEL_DOMAIN || '',
|
||||
zitadelClientId: process.env.ZITADEL_CLIENT_ID || '',
|
||||
zitadelProjectId: process.env.ZITADEL_PROJECT_ID
|
||||
},
|
||||
openFetch: {
|
||||
clients: {
|
||||
customer: {
|
||||
|
||||
Reference in New Issue
Block a user