Allow grove.test to iframe ISL (CSP frame-ancestors)

Anton Kaminsky22d ago7e5aa77c9929parent abf167c
2 files changed+2-2
hub/Caddyfile
@@ -100,7 +100,7 @@
100100
101101 header {
102102 X-Content-Type-Options nosniff
103 Content-Security-Policy "frame-ancestors https://grove.host https://*.grove.host"
103 Content-Security-Policy "frame-ancestors https://grove.host https://*.grove.host http://grove.test:*"
104104 }
105105}
106106
107107
web/app/landing.tsx
@@ -121,7 +121,7 @@
121121 useEffect(() => {
122122 const host = window.location.hostname;
123123 if (host !== "localhost" && !host.match(/^\d/)) {
124 setIslDomain(`https://isl.${host}`);
124 setIslDomain("https://isl.grove.host");
125125 }
126126 }, []);
127127
128128