Skip to content

Commit

Permalink
Merge branch 'TencentBlueKing:master' into issue_2765
Browse files Browse the repository at this point in the history
  • Loading branch information
lannoy0523 authored Dec 27, 2024
2 parents 6ecedad + 8314015 commit fc85ff4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gateway/lua/router_srv.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fc85ff4

Please sign in to comment.