aboutsummaryrefslogtreecommitdiffstats
path: root/daily-psk.local
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-01-31 14:19:05 +0100
committerGravatar Christian Hesse <mail@eworm.de>2023-01-31 17:27:15 +0100
commit63de875129cc3eafff517410d6f90cb78fe459d5 (patch)
tree0f8eae81485cfcf6fee8b1c86f4fced296fcf9a6 /daily-psk.local
parentcbc547332e511e1ae7a0658002e2cc595b3b1182 (diff)
daily-psk: make qr-code url configurablechange-92
Diffstat (limited to 'daily-psk.local')
-rw-r--r--daily-psk.local3
1 files changed, 2 insertions, 1 deletions
diff --git a/daily-psk.local b/daily-psk.local
index 2af2414..17a60f7 100644
--- a/daily-psk.local
+++ b/daily-psk.local
@@ -14,6 +14,7 @@
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:global DailyPskMatchComment;
+:global DailyPskQrCodeUrl;
:global Identity;
:global LogPrintExit2;
@@ -79,7 +80,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); \