From 357453eed44f71c1dad2474bb629d41698168ecd Mon Sep 17 00:00:00 2001 From: Aaron Date: Sat, 13 Dec 2025 14:07:56 -0500 Subject: [PATCH] Onboarding: set https cookie + auto redirect --- pikit-web/onboarding/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/pikit-web/onboarding/index.html b/pikit-web/onboarding/index.html index 09998ae..83fc873 100644 --- a/pikit-web/onboarding/index.html +++ b/pikit-web/onboarding/index.html @@ -95,6 +95,7 @@ try { await fetch(`${target}/api/status`, { mode: "no-cors", cache: "no-store" }); log("HTTPS reachable, redirecting"); + document.cookie = "pikit_https_ok=1; Path=/; Max-Age=2592000; SameSite=Lax"; window.location = target; } catch (e) { log("HTTPS probe failed; staying on onboarding page");