feat: publish sanitized custom.97 source

This commit is contained in:
cneicy committed 2026-10-27 20:43:39 +08:00
1 parent 8e6ed0317b
commit 86c0276156
1022 files changed
+69903 -19207

No files matched your search

+1 -1
View File
@@ -907,7 +907,7 @@ func TestWebFallbackDoesNotCacheMissingAPIOrAssets(t *testing.T) {
func TestSecurityRoutesDisableCachingBeforeAuthentication(t *testing.T) {
outer := gin.New()
SetApiRouter(outer)
for _, path := range []string{"/api/user/token/status", "/api/user/token", "/api/audit/self", "/api/audit"} {
for _, path := range []string{"/api/user/access_tokens", "/api/user/access_tokens/catalog", "/api/user/access_tokens/scopes", "/api/audit/self", "/api/audit"} {
t.Run(path, func(t *testing.T) {
response := performPluginRequest(outer, http.MethodGet, path)
assert.Equal(t, http.StatusUnauthorized, response.Code)