From c1207f91dc4b432cff673a67a01e1425553a23b4 Mon Sep 17 00:00:00 2001 From: TooonyChen <26252739+TooonyChen@users.noreply.github.com> Date: Tue, 8 Oct 2024 14:03:16 +1300 Subject: [PATCH] changed the 'barkToken' variable --- README.md | 10 +++++----- README_CN.md | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 97840b3..771d078 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ Don't wanna receive ads and spams on your main email? Want a bunch of alternativ ```bash npm install wrangler -g ``` - + 2. Create a [Google AI Studio API](https://aistudio.google.com/) 3. Bind a domain to your [Cloudflare](https://dash.cloudflare.com/) account @@ -95,7 +95,7 @@ Use `wrangler.toml` file in the project root with the necessary environment vari [vars] UseBark = "true" # set 'true' to use or 'false' to not use barkUrl = "https://api.day.app" - barkTokens = "["token1", "token2"]" # set to your bark tokens on your iOS device, download it from https://bark.day.app/, you can use multiple tokens, if you only use one, then set it to '['token1']' + barkTokens = "[token1, token2]" # set to your bark tokens on your iOS device, download it from https://bark.day.app/, you can use multiple tokens, if you only use one, then set it to '[token1]' FrontEndAdminID = "admin" # your login FrontEndAdminPassword = "password" # your password GoogleAPIKey = "xxxxxxxxxxx" # your google api, go to https://aistudio.google.com/ to generate one if u dont have @@ -117,13 +117,13 @@ Use `wrangler.toml` file in the project root with the necessary environment vari You can now visit the URL for your newly depolyed Auth Inbox for checking the email results. 5. **Set Email Forwarding** ✉️ Go to [Cloudflare Dashboard](https://dash.cloudflare.com/) -> `Websites` -> `` -> `Email` -> `Email-Routing` -> `Routing Rules` - + if you want to use `catch-all address`: ![image](https://github.com/user-attachments/assets/53e5a939-6b03-4ca6-826a-7a5f02f361ac) - + if you want to use `custom address`: ![image](https://github.com/user-attachments/assets/b0d0ab94-c2ad-4870-ac08-d53e64b2c880) - + 7. **Done**✅ All set! Try it now! diff --git a/README_CN.md b/README_CN.md index 1563c07..a0efac5 100644 --- a/README_CN.md +++ b/README_CN.md @@ -53,11 +53,11 @@ ```bash npm install wrangler -g ``` - + 2. 创建一个 [Google AI Studio API](https://aistudio.google.com/) 3. 在你的 [Cloudflare](https://dash.cloudflare.com/) 账户上绑定一个域名 - + 4. (可选)下载[Bark App](https://bark.day.app/),在App中获得一个Bark Token 2. **初始化** @@ -97,7 +97,7 @@ [vars] UseBark = 'true' # 设置为 'true' 启用 Bark,设置为 'false' 禁用 barkUrl = "https://api.day.app" - barkTokens = "["token1", "token2"]" # 填写你 iOS 设备上的 Bark tokens,可从 https://bark.day.app/ 下载应用获取,可以填写多个。如果你只想用一个,那么填写 '['token1']' + barkTokens = "[token1, token2]" # 填写你 iOS 设备上的 Bark tokens,可从 https://bark.day.app/ 下载应用获取,可以填写多个。如果你只想用一个,那么填写 '[token1]' FrontEndAdminID = "admin" # 你的登录 ID FrontEndAdminPassword = "password" # 你的登录密码 GoogleAPIKey = "xxxxxxxxxxx" # 你的 Google API key,如果没有可以前往 https://aistudio.google.com/ 生成一个