Files
toworker/worker/wrangler.toml
2026-03-23 04:08:27 +08:00

20 lines
554 B
TOML

name = "smsreceiver-worker-api"
main = "src/index.ts"
compatibility_date = "2026-03-22"
compatibility_flags = ["nodejs_compat"]
[vars]
ADMIN_USER = "admin"
ADMIN_PASS_HASH = "b8e450efa9c66b2b50ec8a4d7eb51213d7fa3395e107575881ad999ee92744b5"
SESSION_SECRET = "1e81b5f9e5a695eba01e996b14871db8899b08e111cf8252df8aa4c91d1c7144"
API_TOKEN = "default_token"
HMAC_SECRET = ""
SIGN_VERIFY = "true"
SIGN_MAX_AGE_MS = "3600000"
CORS_ORIGIN = "*"
[[d1_databases]]
binding = "DB"
database_name = "smsreceiver"
database_id = "50bd73ba-218c-4eb6-948a-9014a8892575"