Allow run lifecycle reports through auth gate

This commit is contained in:
npc0-hue
2026-08-06 22:26:15 +08:00
parent d28e998411
commit 4b0233cf6f
2 changed files with 33 additions and 0 deletions
+1
View File
@@ -44,6 +44,7 @@ func publicAPIRequest(r *http.Request) bool {
func runServiceRequest(r *http.Request) bool {
return strings.HasPrefix(r.URL.Path, "/api/v1/run/control/") ||
strings.HasPrefix(r.URL.Path, "/api/v1/run/lifecycle/") ||
strings.HasPrefix(r.URL.Path, "/api/v1/run/jobs/") ||
strings.HasPrefix(r.URL.Path, "/api/v1/run/logs/") ||
strings.HasPrefix(r.URL.Path, "/api/v1/run/artifacts/") ||