improved unofficial detection

This commit is contained in:
tyow
2026-03-30 14:51:22 -04:00
parent 86d65c72f0
commit e8668a1552
+1 -1
View File
@@ -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 {