WEBHOOK_ELOPAGE_SECRET

This commit is contained in:
Ulf Gebhardt 2021-11-17 16:56:32 +01:00
parent f362032b38
commit 33670f1575
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -56,9 +56,21 @@ const email = {
process.env.EMAIL_LINK_VERIFICATION || 'http://localhost/vue/checkEmail/$1',
}
const webhook = {
WEBHOOK_ELOPAGE_SECRET: process.env.WEBHOOK_ELOPAGE_SECRET || 'secret',
}
// This is needed by graphql-directive-auth
process.env.APP_SECRET = server.JWT_SECRET
const CONFIG = { ...server, ...database, ...klicktipp, ...community, ...email, ...loginServer }
const CONFIG = {
...server,
...database,
...klicktipp,
...community,
...email,
...loginServer,
...webhook,
}
export default CONFIG