forked from biaw/gitcord-forum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwrangler.toml
22 lines (18 loc) · 973 Bytes
/
wrangler.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name = "worker-polished-hat-3e27"
main = "./build/index.js"
workers_dev = true
compatibility_date = "2022-11-30"
kv_namespaces = [{ binding = "DB", id = "658699c33e2a4194a98c710d3ad8ff65" }]
[build]
command = "npm run build"
[vars]
# Sensitive data should be stored in the worker itself as an encrypted value... in other terms: NOT IN THIS FILE!
# Method 1 is to use the `wrangler` command: `wrangler secret put <key>` where key is the environment variable name
# Method 2 is to put them in through the workers dashboard
#
# Sensitive environment variables:
# - GITHUB_WEBHOOK_SECRET - your secret for webhooks
# - DISCORD_WEBHOOK - your discord webhook link (needs to be in a forum channel!)
# All sensitive variables get a default value of "" just so the worker doesn't crash
IGNORED_USERS = "renovate[bot],github-actions[bot],cloudflare-pages[bot]"
FALLBACK_URL = "https://github.com/biaw/gitcord-forum" # Fallback URL for when a user types the worker address