mirror of
https://github.com/ciiiii/cloudflare-docker-proxy.git
synced 2025-12-06 14:42:51 +08:00
Compare commits
2 Commits
yscai/remo
...
yscai/regi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1b48aa7d9 | ||
|
|
861a6a8bb1 |
@@ -68,6 +68,7 @@ async function handleRequest(request) {
|
||||
`Bearer realm="https://${url.hostname}/v2/auth",service="cloudflare-docker-proxy"`
|
||||
);
|
||||
}
|
||||
headers.set("Docker-Distribution-API-Version", "registry/2.0");
|
||||
return new Response(JSON.stringify({ message: "UNAUTHORIZED" }), {
|
||||
status: 401,
|
||||
headers: headers,
|
||||
|
||||
Reference in New Issue
Block a user