Files
AuthInbox/wrangler.toml.example.clear
T

30 lines
729 B
Plaintext

name = "auth-inbox"
main = "src/index.ts"
compatibility_date = "2024-10-04"
compatibility_flags = ["nodejs_compat"]
[assets]
directory = "./web/dist"
binding = "ASSETS"
[observability]
enabled = true
[vars]
UseBark = "true"
barkUrl = "https://api.day.app"
barkTokens = "[token1, token2]"
AI_BASE_URL = "https://generativelanguage.googleapis.com/v1beta/openai"
AI_API_KEY = "your-api-key"
AI_API_FORMAT = "openai"
AI_MODEL = "gemini-2.0-flash"
# AI_FALLBACK_BASE_URL = "https://api.openai.com"
# AI_FALLBACK_API_KEY = "your-fallback-api-key"
# AI_FALLBACK_API_FORMAT = "openai"
# AI_FALLBACK_MODEL = "gpt-4o-mini"
[[d1_databases]]
binding = "DB"
database_name = "inbox-d1"
database_id = "********-****-****-****-************"