From 731eb92f33194426a40f9522c66241d61581add7 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 4 Dec 2022 17:18:14 +0000 Subject: [PATCH] fix exception opening the connect page on phones --- copyparty/web/svcs.html | 2 +- copyparty/web/svcs.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/copyparty/web/svcs.html b/copyparty/web/svcs.html index ae45212a..943dfc62 100644 --- a/copyparty/web/svcs.html +++ b/copyparty/web/svcs.html @@ -28,7 +28,7 @@ make this server appear on your computer as a regular HDD!
pick your favorite below (sorted by performance, best first) and lets 🎉

- placeholders: + placeholders: {% if accs %}{{ pw }}=password, {% endif %}W:=mountpoint diff --git a/copyparty/web/svcs.js b/copyparty/web/svcs.js index 7cece1b7..cdf1a80b 100644 --- a/copyparty/web/svcs.js +++ b/copyparty/web/svcs.js @@ -39,4 +39,4 @@ function setos(os) { clmod(oa[a], 'g', oa[a].id.slice(1) == os); } -setos(WINDOWS ? 'win' : LINUX ? 'lin' : MACOS ? 'mac' : ''); +setos(WINDOWS ? 'win' : LINUX ? 'lin' : MACOS ? 'mac' : 'idk');