add header checker
Some checks failed
build container / build-container (push) Successful in 33m30s
run go test / test (push) Failing after 3s

This commit is contained in:
2025-04-01 14:09:43 +08:00
parent 85968bb5cf
commit 835045346d
3 changed files with 60 additions and 9 deletions

View File

@ -11,6 +11,10 @@ upstream:
path:
match: /(debian|ubuntu|ubuntu-releases|alpine|archlinux|kali|manjaro|msys2|almalinux|rocky|centos|centos-stream|centos-vault|fedora|epel|elrepo|remi|rpmfusion|tailscale|gnu|rust-static|pypi)/(.*)
replace: '/$1/$2'
checkers:
headers:
- name: content-type
match: application/octet-stream
- server: https://packages.microsoft.com/repos/code
path:
match: /microsoft-code(.*)