Download index.php from 1drv/link: direct link, hf CLI and curl.
- Browser
- Download file 146 Bytes
-
https://huggingface.co/spaces/1drv/link/resolve/main/index.php
- Command line
-
hf download hf://spaces/1drv/link/index.php
-
curl -L -o index.php https://huggingface.co/spaces/1drv/link/resolve/main/index.php
146 Bytes
| date_default_timezone_set("Asia/Shanghai"); | |
| $host = $_SERVER ['HTTP_HOST']; | |
| $uri = $_GET['uri']; | |
| header("location:https://a.b.com/".$uri); | |