modify: 添加 internal 路由屏蔽
This commit is contained in:
@@ -3,7 +3,7 @@ name = "example"
|
||||
version = "0.1.0"
|
||||
description = "chongming worker example — demonstrates new config features"
|
||||
config_version = "1.0"
|
||||
defaults = { method = "GET", ttl = 30, timeout = 2.0, auth_required = true, cacheable = false }
|
||||
defaults = { method = "GET", ttl = 30, timeout = 2.0, auth_required = true, cacheable = false, internal = false }
|
||||
|
||||
[worker.registration]
|
||||
router_prefix = "/calc"
|
||||
|
||||
Reference in New Issue
Block a user