From 63de875129cc3eafff517410d6f90cb78fe459d5 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 31 Jan 2023 14:19:05 +0100 Subject: daily-psk: make qr-code url configurable --- daily-psk.capsman | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'daily-psk.capsman') diff --git a/daily-psk.capsman b/daily-psk.capsman index 81cb5a2..17a09e1 100644 --- a/daily-psk.capsman +++ b/daily-psk.capsman @@ -14,6 +14,7 @@ :while ($GlobalFunctionsReady != true) do={ :delay 500ms; } :global DailyPskMatchComment; +:global DailyPskQrCodeUrl; :global Identity; :global LogPrintExit2; @@ -80,7 +81,7 @@ $WaitFullyConnected; :if ($Skip = 0) do={ :set Seen ($Seen, $Ssid); - :local Link ("https://www.eworm.de/cgi-bin/cqrlogo-wifi.cgi" . \ + :local Link ($DailyPskQrCodeUrl . \ "?scale=8&level=1&ssid=" . [ $UrlEncode $Ssid ] . "&pass=" . [ $UrlEncode $NewPsk ]); $SendNotification2 ({ origin=$0; \ subject=([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid); \ -- cgit v1.2.3-70-g09d2