From e8668a1552b1d3d2b147795f2d0190ea5577f6cf Mon Sep 17 00:00:00 2001 From: tyow Date: Mon, 30 Mar 2026 14:51:22 -0400 Subject: [PATCH] improved unofficial detection --- website/src/repl/components/panel/Panel.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/repl/components/panel/Panel.jsx b/website/src/repl/components/panel/Panel.jsx index 76987d1a4..b36ae3eef 100644 --- a/website/src/repl/components/panel/Panel.jsx +++ b/website/src/repl/components/panel/Panel.jsx @@ -48,7 +48,7 @@ export function MainPanel({ context, isEmbedded = false, className }) { let ver = 'unofficial'; let hot = false; let b = loc.hostname.match(/^(.+)\.(strudel)/); - if (/(strudel)/.test(loc.hostname)) { + if (/(strudel.cc$)/.test(loc.hostname)) { // if there's no text before 'strudel', it's warm, otherwise use the text before strudel ver = b ? b[1] : 'warm'; } else {