fix
All checks were successful
Deploy Nuxt App / deploy (push) Successful in 4m25s

This commit is contained in:
2025-06-22 09:25:44 +04:00
parent 925b6197f2
commit 1b211c3148
6 changed files with 74 additions and 33 deletions

View File

@ -42,24 +42,15 @@ export default defineNuxtConfig({
},
},
runtimeConfig: {
smtpHost: process.env.SMTP_HOST,
smtpPort: process.env.SMTP_PORT,
smtpUser: process.env.SMTP_USER,
smtpPass: process.env.SMTP_PASS,
},
modules: [
...config.modules,
[
'nuxt-mail',
{
smtp: {
host: 'smtp.yandex.ru',
port: 465,
secure: true,
auth: {
user: process.env.SMTP_USER || 'levishub@yandex.com',
pass: process.env.SMTP_PASS || 'avhpihoudpyvibtx',
},
},
message: {
to: process.env.DEFAULT_TO_EMAIL || 'default@example.com',
},
},
],
// ['nuxt-mail', ... ] // Модуль больше не нужен
],
})