Implemented link generation in mails
This commit is contained in:
1 parent
a3a4a65a80
commit
72a07770e8
3 files changed
+16
-14
No files matched your search
@@ -4,6 +4,9 @@ const withTM = require('next-transpile-modules')(['react-timezone-select']);
|
||||
if ( ! process.env.EMAIL_FROM ) {
|
||||
console.warn('\x1b[33mwarn', '\x1b[0m', 'EMAIL_FROM environment variable is not set, this may indicate mailing is currently disabled. Please refer to the .env.example file.');
|
||||
}
|
||||
if (process.env.BASE_URL) {
|
||||
process.env.NEXTAUTH_URL = process.env.BASE_URL + '/api/auth';
|
||||
}
|
||||
|
||||
const validJson = (jsonString) => {
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user