refac: gera url de reset de senha com base no .env
This commit is contained in:
@@ -2,7 +2,13 @@
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2025-07-15',
|
||||
devtools: { enabled: true },
|
||||
modules: ['@nuxtjs/tailwindcss', '@pinia/nuxt', '@vee-validate/nuxt', 'vue-sonner/nuxt', '@nuxt/icon'],
|
||||
modules: [
|
||||
'@nuxtjs/tailwindcss',
|
||||
'@pinia/nuxt',
|
||||
'@vee-validate/nuxt',
|
||||
'vue-sonner/nuxt',
|
||||
'@nuxt/icon'
|
||||
],
|
||||
runtimeConfig: {
|
||||
databaseUrl: process.env.DATABASE_URL,
|
||||
jwtIssuer: process.env.JWT_ISSUER ?? 'https://auth.local',
|
||||
@@ -14,17 +20,12 @@ export default defineNuxtConfig({
|
||||
jwtKid: process.env.JWT_KID ?? 'auth-key-1',
|
||||
refreshTokenPepper: process.env.REFRESH_TOKEN_PEPPER ?? '',
|
||||
passwordResetTtlSec: process.env.PASSWORD_RESET_TTL_SEC ?? '900',
|
||||
passwordResetTokenPepper: process.env.PASSWORD_RESET_TOKEN_PEPPER ?? ''
|
||||
passwordResetTokenPepper: process.env.PASSWORD_RESET_TOKEN_PEPPER ?? '',
|
||||
passwordResetBaseUrl: process.env.PASSWORD_RESET_BASE_URL ?? ''
|
||||
},
|
||||
vite: {
|
||||
optimizeDeps: {
|
||||
include: [
|
||||
'@vue/devtools-core',
|
||||
'@vue/devtools-kit',
|
||||
'zod',
|
||||
'@vee-validate/zod',
|
||||
'vue-sonner',
|
||||
]
|
||||
include: ['@vue/devtools-core', '@vue/devtools-kit', 'zod', '@vee-validate/zod', 'vue-sonner']
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user