diff --git a/wrangler.jsonc b/wrangler.jsonc index ddf6559..0ba01c6 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -33,9 +33,9 @@ * https://developers.cloudflare.com/workers/configuration/secrets/ */ "vars": { - "PUBLIC_HANDLE": "blento.app", - "PUBLIC_IS_SELFHOSTED": "", - "PUBLIC_DOMAIN": "https://blento.app", + "PUBLIC_HANDLE": "polijn.org", + "PUBLIC_IS_SELFHOSTED": "true", + "PUBLIC_DOMAIN": "https://polijn.org", "PUBLIC_GIPHY_API_TOKEN": "ltXijv1bkNPrEgnpJ0tIdLWXjnAeE7bL" }, "kv_namespaces": [ -- 2.51.2 From ae4fe500694947fac19a7a11c7f5280594849077 Mon Sep 17 00:00:00 2001 From: polijn <45722770+polijn@users.noreply.github.com> Date: Thu, 29 Jan 2026 16:26:04 +0100 Subject: [PATCH 2/5] Remove USER_DATA_CACHE from kv_namespaces Removed USER_DATA_CACHE from kv_namespaces. --- wrangler.jsonc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/wrangler.jsonc b/wrangler.jsonc index 0ba01c6..4eb5086 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -38,12 +38,7 @@ "PUBLIC_DOMAIN": "https://polijn.org", "PUBLIC_GIPHY_API_TOKEN": "ltXijv1bkNPrEgnpJ0tIdLWXjnAeE7bL" }, - "kv_namespaces": [ - { - "binding": "USER_DATA_CACHE", - "id": "d6ff203259de48538d332b0a5df258a7" - } - ] + /** * Service Bindings (communicate between multiple Workers) * https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings -- 2.51.2 From 3b043fb734d59e6d03bd151811d2539a97624d4f Mon Sep 17 00:00:00 2001 From: polijn Date: Sat, 31 Jan 2026 20:51:19 +0100 Subject: [PATCH 3/5] safari drag and drop fix --- src/lib/website/EditableWebsite.svelte | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/src/lib/website/EditableWebsite.svelte b/src/lib/website/EditableWebsite.svelte index 67d233c..31b0d46 100644 --- a/src/lib/website/EditableWebsite.svelte +++ b/src/lib/website/EditableWebsite.svelte @@ -809,21 +809,7 @@ }} ondragend={async (e) => { e.preventDefault(); - const cell = getDragXY(e); - if (!cell) return; - - if (activeDragElement.item) { - if (isMobile) { - activeDragElement.item.mobileX = cell.x; - activeDragElement.item.mobileY = cell.y; - } else { - activeDragElement.item.x = cell.x; - activeDragElement.item.y = cell.y; - } - - // Fix collisions and compact items after drag ends - fixCollisions(items, activeDragElement.item, isMobile); - } + // safari fix activeDragElement.x = -1; activeDragElement.y = -1; activeDragElement.element = null; @@ -863,6 +849,15 @@ activeDragElement.w = item.w; activeDragElement.h = item.h; activeDragElement.item = item; + // fix for div shadow during drag and drop + const transparent = document.createElement('div'); + transparent.style.position = 'fixed'; + transparent.style.top = '-1000px'; + transparent.style.width = '1px'; + transparent.style.height = '1px'; + document.body.appendChild(transparent); + e.dataTransfer?.setDragImage(transparent, 0, 0); + requestAnimationFrame(() => transparent.remove()); // Store original positions of all items activeDragElement.originalPositions = new Map(); -- 2.51.2 From 84af212ccb126d2d2d20c8b06ae554a16cbb93ad Mon Sep 17 00:00:00 2001 From: polijn Date: Sat, 31 Jan 2026 20:56:20 +0100 Subject: [PATCH 4/5] linter --- wrangler.jsonc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrangler.jsonc b/wrangler.jsonc index 4eb5086..0ab7433 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -37,7 +37,7 @@ "PUBLIC_IS_SELFHOSTED": "true", "PUBLIC_DOMAIN": "https://polijn.org", "PUBLIC_GIPHY_API_TOKEN": "ltXijv1bkNPrEgnpJ0tIdLWXjnAeE7bL" - }, + } /** * Service Bindings (communicate between multiple Workers) -- 2.51.2 From 21079b5f69efdfc7671ab2e7b31b3556b41d6b54 Mon Sep 17 00:00:00 2001 From: Florian <45694132+flo-bit@users.noreply.github.com> Date: Sat, 31 Jan 2026 21:04:13 +0100 Subject: [PATCH 5/5] fix wrangler --- wrangler.jsonc | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/wrangler.jsonc b/wrangler.jsonc index 0ab7433..c383635 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -33,11 +33,17 @@ * https://developers.cloudflare.com/workers/configuration/secrets/ */ "vars": { - "PUBLIC_HANDLE": "polijn.org", - "PUBLIC_IS_SELFHOSTED": "true", - "PUBLIC_DOMAIN": "https://polijn.org", + "PUBLIC_HANDLE": "blento.app", + "PUBLIC_IS_SELFHOSTED": "", + "PUBLIC_DOMAIN": "https://blento.app", "PUBLIC_GIPHY_API_TOKEN": "ltXijv1bkNPrEgnpJ0tIdLWXjnAeE7bL" - } + }, + "kv_namespaces": [ + { + "binding": "USER_DATA_CACHE", + "id": "d6ff203259de48538d332b0a5df258a7" + } + ] /** * Service Bindings (communicate between multiple Workers)