-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: demo email start on payload init
- Loading branch information
1 parent
3233e90
commit 57d2c86
Showing
2 changed files
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,11 +50,6 @@ export default buildConfig({ | |
}, | ||
webpack: (config) => config, | ||
}, | ||
email: { | ||
transport: 'mock', | ||
fromName: 'Payload', | ||
fromAddress: '[email protected]', | ||
}, | ||
collections: [ | ||
Admin, | ||
AllFields, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,10 @@ payload.init({ | |
secret: 'SECRET_KEY', | ||
mongoURL: 'mongodb://localhost/payload', | ||
express: expressApp, | ||
email: { | ||
fromName: 'Payload', | ||
fromAddress: '[email protected]', | ||
}, | ||
onInit: (app) => { | ||
app.logger.info('Payload Demo Initialized'); | ||
}, | ||
|