mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-22 23:16:48 +00:00
feat(email encrypt): implement base64 encoding for contact email config, only supports HEO theme
This commit is contained in:
@@ -3,7 +3,12 @@
|
||||
*/
|
||||
module.exports = {
|
||||
// 社交链接,不需要可留空白,例如 CONTACT_WEIBO:''
|
||||
CONTACT_EMAIL: process.env.NEXT_PUBLIC_CONTACT_EMAIL || '', // 邮箱地址 例如mail@tangly1024.com
|
||||
CONTACT_EMAIL:
|
||||
(process.env.NEXT_PUBLIC_CONTACT_EMAIL &&
|
||||
btoa(
|
||||
unescape(encodeURIComponent(process.env.NEXT_PUBLIC_CONTACT_EMAIL))
|
||||
)) ||
|
||||
'', // 邮箱地址 例如mail@tangly1024.com
|
||||
CONTACT_WEIBO: process.env.NEXT_PUBLIC_CONTACT_WEIBO || '', // 你的微博个人主页
|
||||
CONTACT_TWITTER: process.env.NEXT_PUBLIC_CONTACT_TWITTER || '', // 你的twitter个人主页
|
||||
CONTACT_GITHUB: process.env.NEXT_PUBLIC_CONTACT_GITHUB || '', // 你的github个人主页 例如 https://github.com/tangly1024
|
||||
|
||||
Reference in New Issue
Block a user