mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-24 06:27:19 +00:00
10 lines
204 B
Bash
10 lines
204 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if [ -z "$BACKEND_HOSTNAME" ]; then
|
||
|
echo "BACKEND_HOSTNAME not set"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
sed -i s/pipedapi.kavin.rocks/"$BACKEND_HOSTNAME"/g /usr/share/nginx/html/assets/*
|
||
|
nginx -g "daemon off;"
|