fix(marketplace):修复模型广场查询模型权限报错问题
This commit is contained in:
1 parent
a1f15ab5b1
commit
06d5784e58
1 file changed
+2
@@ -24,6 +24,7 @@ var tenantPublicPaths = map[string]bool{
|
||||
"/api/tenant/members/invite-info": true,
|
||||
"/api/tenant/agreements/current": true,
|
||||
"/api/tenant/oauth/authorize": true,
|
||||
"/api/tenant/marketplace/models": true,
|
||||
"/api/tenant/help/categories": true,
|
||||
"/api/tenant/help/search": true,
|
||||
}
|
||||
@@ -31,6 +32,7 @@ var tenantPublicPaths = map[string]bool{
|
||||
// tenantPublicPrefixes lists path prefixes that skip JWT auth (for dynamic routes like /current/{code}).
|
||||
var tenantPublicPrefixes = []string{
|
||||
"/api/tenant/agreements/current/",
|
||||
"/api/tenant/marketplace/models/",
|
||||
"/api/tenant/help/categories/",
|
||||
"/api/tenant/help/articles/",
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user