Pārlūkot izejas kodu

feat(create): Add example fromAddress global template variable

Michael Bromley 6 gadi atpakaļ
vecāks
revīzija
b727327a82
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      packages/create/templates/vendure-config.hbs

+ 1 - 0
packages/create/templates/vendure-config.hbs

@@ -70,6 +70,7 @@ const path = require('path');
             templatePath: path.join(__dirname, 'vendure/email/templates'),
             globalTemplateVars: {
                 // The following variables will change depending on your storefront implementation
+                fromAddress: '"example" <noreply@example.com>',
                 verifyEmailAddressUrl: 'http://localhost:8080/verify',
                 passwordResetUrl: 'http://localhost:8080/password-reset',
                 changeEmailAddressUrl: 'http://localhost:8080/verify-email-address-change'