Update the block message of the allow image

This commit is contained in:
Shiming Zhang 2024-12-25 10:57:46 +08:00
parent 6651e5e253
commit 26dfbd433c
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ jobs:
- name: Update list (new)
run: |
LIST="$(cat ./allows.txt | jq -R -s -c '{"items": split("\n")[:-1]}')"
LIST="$(cat ./allows.txt | jq -R -s -c '{"items": split("\n")[:-1], "block_message": "🚫 👀-> https://github.com/DaoCloud/public-image-mirror/issues/2328 🔗 这镜像不在白名单. this image is not in the allowlist."}')"
TOKEN="$(curl -X 'POST' \
'https://auth.m.daocloud.io/apis/v1/users/login' \
-H 'Accept: application/json' \