mirror of
https://github.com/zhigang1992/workers-graphql-server.git
synced 2026-01-12 22:53:37 +08:00
allow dev builds
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user