allow dev builds

This commit is contained in:
Rob Playford
2021-10-03 10:03:44 +01:00
parent 45a04a104a
commit 2421227ce6

View File

@@ -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"