modify: 添加 internal 路由屏蔽

This commit is contained in:
2026-07-24 15:14:57 +08:00
parent 2e2a492a8d
commit 98ee0e29af
2 changed files with 169 additions and 16 deletions
+1 -1
View File
@@ -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"