Spaces:
Runtime error
Runtime error
Download entrypoint.sh from emergency911/testing: direct link, hf CLI and curl.
- Browser
- Download file 370 Bytes
-
https://huggingface.co/spaces/emergency911/testing/resolve/main/entrypoint.sh
- Command line
-
hf download hf://spaces/emergency911/testing/entrypoint.sh
-
curl -L -o entrypoint.sh https://huggingface.co/spaces/emergency911/testing/resolve/main/entrypoint.sh
370 Bytes
| # This script reads the Secrets you set in Hugging Face | |
| # and replaces the placeholders in the template file before starting Xray. | |
| sed "s|\$UUID1|$UUID1|g; s|\$UUID2|$UUID2|g; s|\$SECRET_ROUTE|$SECRET_ROUTE|g" /workspace/config.template.json > /workspace/config.json | |
| # Hand over execution to the Xray binary | |
| exec ./xray run -c /workspace/config.json |