-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwrangler.toml
47 lines (37 loc) · 1.94 KB
/
wrangler.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name = "ironsecurity-index"
main = "./workers/index.js"
workers_dev = false
compatibility_flags = []
compatibility_date = "2021-09-20"
[vars]
MAX_MESSAGE_LENGTH = 50000
CAPTCHA_MIN_SCORE = 0.5
CSP_POLICY = "default-src 'none'; script-src 'self' www.google.com/recaptcha/ www.gstatic.com/recaptcha/; connect-src 'self'; child-src www.google.com/recaptcha/; style-src 'self' fonts.googleapis.com; img-src 'self' data:; font-src 'self' data: fonts.gstatic.com; media-src 'self'; prefetch-src 'self';"
CAPTCHA_VERIFY_URL = "https://www.google.com/recaptcha/api/siteverify"
# secrets that should be available via environment variables
# ----------------------------------------------------------
# CAPTCHA_PRIVATEKEY
# MAILGUN_APIKEY
# MAILGUN_DOMAIN
# EMAIL_TO
[env.dev.vars]
MAX_MESSAGE_LENGTH = 50000
ENVIRONMENT = "dev"
CAPTCHA_MIN_SCORE = 0.5
CSP_POLICY = "default-src 'none'; script-src 'self' www.google.com/recaptcha/ www.gstatic.com/recaptcha/; connect-src 'self'; child-src www.google.com/recaptcha/; style-src 'self' fonts.googleapis.com; img-src 'self' data:; font-src 'self' data: fonts.gstatic.com; media-src 'self'; prefetch-src 'self';"
CAPTCHA_VERIFY_URL = "https://www.google.com/recaptcha/api/siteverify"
[env.dev]
webpack_config = "workers/webpack.config.dev.js"
[env.prd.vars]
MAX_MESSAGE_LENGTH = 50000
ENVIRONMENT = "prd"
CAPTCHA_MIN_SCORE = 0.5
CSP_POLICY = "default-src 'none'; script-src 'self' www.google.com/recaptcha/ www.gstatic.com/recaptcha/; connect-src 'self'; child-src www.google.com/recaptcha/; style-src 'self' fonts.googleapis.com; img-src 'self' data:; font-src 'self' data: fonts.gstatic.com; media-src 'self'; prefetch-src 'self';"
CAPTCHA_VERIFY_URL = "https://www.google.com/recaptcha/api/siteverify"
[env.prd]
routes = ['iron.security/*', 'www.iron.security/*']
account_id = 'cc3c0a0320f6300a87a710edf2731e79'
[build]
command = "npm run build"
[site]
bucket = "./generated/"