From 2421227ce6fa37533256ffdef2877e6902e79280 Mon Sep 17 00:00:00 2001 From: Rob Playford Date: Sun, 3 Oct 2021 10:03:44 +0100 Subject: [PATCH] allow dev builds --- wrangler.toml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/wrangler.toml b/wrangler.toml index ba85342..9b06e1f 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -9,6 +9,12 @@ workers_dev = true webpack_config = "webpack.config.js" compatibility_date = "2021-10-03" +# Enable a kv-namespace to use the KV caching feature +# +# kv-namespaces = [ +# { binding = "WORKERS_GRAPHQL_CACHE", id = "" } +# ] + [build] command = "npm install && npm run build" @@ -16,8 +22,8 @@ command = "npm install && npm run build" format = "modules" main = "./src/index.js" -# Enable a kv-namespace to use the KV caching feature -# -# kv-namespaces = [ -# { binding = "WORKERS_GRAPHQL_CACHE", id = "" } -# ] +[dev] +ip = "0.0.0.0" +port = 8787 +local_protocol="http" +upstream_protocol="https"