Download rules.json from codebydante/imageninja-hd: direct link, hf CLI and curl.
- Browser
- Download file 882 Bytes
-
https://huggingface.co/datasets/codebydante/imageninja-hd/resolve/main/rules.json
- Command line
-
hf download hf://datasets/codebydante/imageninja-hd/rules.json
-
curl -L -o rules.json https://huggingface.co/datasets/codebydante/imageninja-hd/resolve/main/rules.json
882 Bytes
| [ | |
| { | |
| "id": 1, | |
| "priority": 1, | |
| "action": { | |
| "type": "modifyHeaders", | |
| "requestHeaders": [ | |
| { | |
| "header": "Referer", | |
| "operation": "set", | |
| "value": "https://www.poringa.net/" | |
| }, | |
| { | |
| "header": "Origin", | |
| "operation": "set", | |
| "value": "https://www.poringa.net" | |
| } | |
| ], | |
| "responseHeaders": [ | |
| { | |
| "header": "Cross-Origin-Resource-Policy", | |
| "operation": "remove" | |
| }, | |
| { | |
| "header": "Access-Control-Allow-Origin", | |
| "operation": "set", | |
| "value": "*" | |
| } | |
| ] | |
| }, | |
| "condition": { | |
| "urlFilter": "poringa.net", | |
| "resourceTypes": ["main_frame", "sub_frame", "stylesheet", "script", "image", "font", "object", "xmlhttprequest", "ping", "csp_report", "media", "websocket", "other"] | |
| } | |
| } | |
| ] | |