chore: restructure repo as worker collection
This commit is contained in:
19
smsreceiver-worker/worker/wrangler.toml
Normal file
19
smsreceiver-worker/worker/wrangler.toml
Normal file
@@ -0,0 +1,19 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user