Spaces:
Sleeping
Sleeping
Download start.sh from asterioskryos/opencode-dashboard: direct link, hf CLI and curl.
- Browser
- Download file 183 Bytes
-
https://huggingface.co/spaces/asterioskryos/opencode-dashboard/resolve/main/start.sh
- Command line
-
hf download hf://spaces/asterioskryos/opencode-dashboard/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/asterioskryos/opencode-dashboard/resolve/main/start.sh
183 Bytes
| if [ -n "$HF_TOKEN" ]; then | |
| sed -i "s|</head>|<script>window.__HF_TOKEN__ = '$HF_TOKEN';</script></head>|" /usr/share/nginx/html/index.html | |
| fi | |
| exec nginx -g "daemon off;" | |