meta/wrangler.toml
2022-09-11 10:00:26 +03:00

26 lines
615 B
TOML

# Default worker is for dev only.
# See omaps and organicmaps environments below for production.
name = 'meta-dev'
type = 'javascript'
compatibility_date = '2021-11-11'
# Organic Maps CF Account ID.
account_id = '462f578f0939f041e2c24ec99adce458'
workers_dev = true
[build]
upload.format = 'service-worker'
command = 'npm i --prefer-offline --no-audit && npm run build'
[vars]
DEBUG = true
[env.prod]
name = 'meta'
workers_dev = false
# omaps.app CF zone ID.
zone_id = '3fce06554abc3899504e11d928be0ee7'
# See the full list of handled paths in the code.
route = 'meta.omaps.app/*'
[env.prod.vars]
DEBUG = false