feat(desktop): add client release updater
Desktop Client Build / Resolve Build Metadata (push) Successful in 19s
Frontend CI / Frontend (push) Successful in 3m20s
Backend CI / Backend (push) Successful in 16m48s
Desktop Client Build / Build Desktop Client (push) Successful in 24m46s
Desktop Client Build / Publish Client Artifacts to NAS (push) Successful in 37s
Desktop Client Build / Resolve Build Metadata (push) Successful in 19s
Frontend CI / Frontend (push) Successful in 3m20s
Backend CI / Backend (push) Successful in 16m48s
Desktop Client Build / Build Desktop Client (push) Successful in 24m46s
Desktop Client Build / Publish Client Artifacts to NAS (push) Successful in 37s
This commit is contained in:
@@ -500,6 +500,10 @@ func errorResponse(description string) map[string]any {
|
||||
func securityForPath(path string) []map[string][]string {
|
||||
if path == "/api/auth/password-key" ||
|
||||
path == "/api/auth/login" || path == "/api/auth/refresh" ||
|
||||
path == "/api/desktop/releases/latest" ||
|
||||
path == "/api/desktop/releases/download-url" ||
|
||||
path == "/api/desktop/releases/updater/:platform/:arch/:channel/:version" ||
|
||||
path == "/api/desktop/releases/updater/:platform/:arch/:channel/:version/:feed" ||
|
||||
strings.HasPrefix(path, "/api/health/") ||
|
||||
strings.HasPrefix(path, "/api/public/") {
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user