diff --git a/snap-src/bin/wekan-help b/snap-src/bin/wekan-help index 14702d9a3..a498b9b93 100755 --- a/snap-src/bin/wekan-help +++ b/snap-src/bin/wekan-help @@ -2,6 +2,10 @@ # first read settings source $SNAP/bin/wekan-read-settings &>/dev/null +if [ "$CADDY_ENABLED" = "true" ]; then + # tweak port nunmber as it has been remapped + export PORT=${CADDY_PORT} &>/dev/null +fi echo -e "Wekan: The open-source Trello-like kanban.\n" echo -e "Make sure you have connected all interfaces, check more by calling $ snap interfaces"