diff --git a/README.md b/README.md index baf5298..243fd59 100644 --- a/README.md +++ b/README.md @@ -84,12 +84,12 @@ Use `wrangler.toml` file in the project root with the necessary environment vari type = "typescript" [vars] - UseBark = 'true' # set 'true' to use or 'false' to not use + 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']' - 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 + 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 [[d1_databases]] # Copy the lines obtained from step 2 from your terminal. binding = "DB" diff --git a/README_CN.md b/README_CN.md index 1365fc8..c1fc2d7 100644 --- a/README_CN.md +++ b/README_CN.md @@ -89,10 +89,10 @@ [vars] UseBark = 'true' # 设置为 'true' 启用 Bark,设置为 'false' 禁用 barkUrl = "https://api.day.app" - 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/ 生成一个 + 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/ 生成一个 [[d1_databases]] # 从步骤 2 的终端结果中复制这些行。 binding = "DB" diff --git a/wrangler.toml b/wrangler.toml index b2ddba0..ca4fc70 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -23,12 +23,12 @@ enabled = true # Note: Use secrets to store sensitive data. # - https://developers.cloudflare.com/workers/configuration/secrets/ [vars] -UseBark = 'true' +UseBark = "true" 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']' -FrontEndAdminID = 'admin' # your login -FrontEndAdminPassword = 'password' # your password -GoogleAPIKey = 'xxxxxxxxxxx' # your google api +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 # Bind the Workers AI model catalog. Run machine learning models, powered by serverless GPUs, on Cloudflare’s global network # Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#workers-ai # [ai]