Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions duckdns/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.0.1

- Strip whitespace from DuckDNS API token (avoids fatal errors from copy-paste spaces)

## 2.0.0

- Remove unsupported architectures (armhf, armv7, i386)
Expand Down
2 changes: 1 addition & 1 deletion duckdns/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 2.0.0
version: 2.0.1
slug: duckdns
name: Duck DNS
description: >-
Expand Down
1 change: 1 addition & 0 deletions duckdns/rootfs/etc/s6-overlay/s6-rc.d/duckdns/run
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ LE_UPDATE="0"
if bashio::config.has_value "ipv4"; then IPV4=$(bashio::config 'ipv4'); else IPV4=""; fi
if bashio::config.has_value "ipv6"; then IPV6=$(bashio::config 'ipv6'); else IPV6=""; fi
TOKEN=$(bashio::config 'token')
TOKEN="${TOKEN//[[:space:]]/}"
DOMAINS=$(bashio::config 'domains | join(",")')
WAIT_TIME=$(bashio::config 'seconds')
ALGO=$(bashio::config 'lets_encrypt.algo')
Expand Down
1 change: 1 addition & 0 deletions duckdns/rootfs/root/hooks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ set -e
CONFIG_PATH=/data/options.json

SYS_TOKEN=$(jq --raw-output '.token' $CONFIG_PATH)
SYS_TOKEN="${SYS_TOKEN//[[:space:]]/}"
SYS_CERTFILE=$(jq --raw-output '.lets_encrypt.certfile' $CONFIG_PATH)
SYS_KEYFILE=$(jq --raw-output '.lets_encrypt.keyfile' $CONFIG_PATH)

Expand Down
Loading