refactor(rest): use static config for trace ignore paths. (#2773)

This commit is contained in:
cong
2023-01-12 09:40:18 +08:00
committed by GitHub
parent bae061a67e
commit f9619328f2
4 changed files with 35 additions and 15 deletions

View File

@@ -57,5 +57,7 @@ type (
Signature SignatureConf `json:",optional"`
// There are default values for all the items in Middlewares.
Middlewares MiddlewaresConf
// TraceIgnorePaths is paths blacklist for trace middleware.
TraceIgnorePaths []string `json:",optional"`
}
)