diff --git a/src/gateway/lua/router_srv.lua b/src/gateway/lua/router_srv.lua index ec28535b7f..8670167f40 100644 --- a/src/gateway/lua/router_srv.lua +++ b/src/gateway/lua/router_srv.lua @@ -20,7 +20,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI -- 访问限制微服务 -- local allow_services = { "auth", "repository", "generic", "docker", "oci", "maven", "job", "helm", "pypi", "opdata", "rpm", "s3", "git", "npm", "fs-server", "analyst", - "replication", "git", "nuget", "composer", "media", "ddc", "conan", "job-schedule", "websocket" } + "replication", "git", "nuget", "composer", "media", "ddc", "conan", "job-schedule", + "websocket", "preview" } local service_name = ngx.var.service if not arrayUtil:isInArray(service_name, allow_services) then