dev: allow content-edit UI host from sslip.io domain

This commit is contained in:
Bot Dev committed 2026-07-29 18:39:28 +02:00
1 parent 12e2b121c7
commit e42f0c746c
1 file changed
+1 -1
@@ -24,5 +24,5 @@ export async function saveEdits(payload) {
export function isContentEditHost() {
const host = window.location.hostname;
return host === "localhost" || host === "127.0.0.1";
const ALLOWED_HOSTS = [localhost, 127.0.0.1, dev.mamadaevv.site, f2ogw6fzi6trnp7cp43x8wsd.31.129.103.242.sslip.io];\n return ALLOWED_HOSTS.includes(host);
}