1.0.307 - Switcht to localhost instead of loopback...

Helps with #193 ...????
pull/201/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 00421aa297
commit e1fe773f24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
scriptVersion="1.0.306" scriptVersion="1.0.307"
if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then
lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
if [ "$lidarrUrlBase" == "null" ]; then if [ "$lidarrUrlBase" == "null" ]; then
@ -9,7 +9,7 @@ if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then
fi fi
lidarrApiKey="$(cat /config/config.xml | xq | jq -r .Config.ApiKey)" lidarrApiKey="$(cat /config/config.xml | xq | jq -r .Config.ApiKey)"
lidarrPort="$(cat /config/config.xml | xq | jq -r .Config.Port)" lidarrPort="$(cat /config/config.xml | xq | jq -r .Config.Port)"
lidarrUrl="http://127.0.0.1:${lidarrPort}${lidarrUrlBase}" lidarrUrl="http://localhost:${lidarrPort}${lidarrUrlBase}"
fi fi
agent="lidarr-extended ( https://github.com/RandomNinjaAtk/docker-lidarr-extended )" agent="lidarr-extended ( https://github.com/RandomNinjaAtk/docker-lidarr-extended )"
musicbrainzMirror=https://musicbrainz.org musicbrainzMirror=https://musicbrainz.org

Loading…
Cancel
Save