From e42f0c746cb84a0a69800d7dc881688be63d21eb Mon Sep 17 00:00:00 2001 From: Bot Dev Date: Wed, 29 Jul 2026 18:39:28 +0200 Subject: [PATCH] dev: allow content-edit UI host from sslip.io domain --- public/js/modules/ui/content-edit/content-edit-storage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/modules/ui/content-edit/content-edit-storage.js b/public/js/modules/ui/content-edit/content-edit-storage.js index df7a8c4..9bcad7c 100644 --- a/public/js/modules/ui/content-edit/content-edit-storage.js +++ b/public/js/modules/ui/content-edit/content-edit-storage.js @@ -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); }