-
Notifications
You must be signed in to change notification settings - Fork 1
/
wrangler.toml
31 lines (25 loc) · 1.12 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
name = "ironsecurity-docs"
main = "./workers/index.js"
workers_dev = false
usage_model = 'bundled'
compatibility_flags = []
compatibility_date = "2021-09-20"
[vars]
CSP_POLICY = "default-src 'none'; script-src 'self'; style-src 'self' fonts.googleapis.com; img-src 'self' data:; font-src 'self' data: fonts.gstatic.com; media-src 'self'; prefetch-src 'self';"
ENVIRONMENT = 'dev'
[env.dev.vars]
ENVIRONMENT = "dev"
CSP_POLICY = "default-src 'none'; script-src 'self'; style-src 'self' fonts.googleapis.com; img-src 'self' data:; font-src 'self' data: fonts.gstatic.com; media-src 'self'; prefetch-src 'self';"
[env.dev]
webpack_config = "workers/webpack.config.dev.js"
[env.prd.vars]
ENVIRONMENT = "dev"
CSP_POLICY = "default-src 'none'; script-src 'self'; style-src 'self' fonts.googleapis.com; img-src 'self' data:; font-src 'self' data: fonts.gstatic.com; media-src 'self'; prefetch-src 'self';"
[env.prd]
routes = ['docs.iron.security/*', 'www.docs.iron.security/*']
account_id = 'cc3c0a0320f6300a87a710edf2731e79'
[build]
command = "npm run build"
watch_dir = "workers/"
[site]
bucket = "./public/"