From c288d73c133e4990fa70dac180185a32c08f3ffc Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sat, 10 Aug 2024 22:58:46 +0200 Subject: [PATCH] specify that windmill can be embedded if using same host --- .../src/lib/components/apps/editor/AppEditorHeader.svelte | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/lib/components/apps/editor/AppEditorHeader.svelte b/frontend/src/lib/components/apps/editor/AppEditorHeader.svelte index d176436c39..efe3daab00 100644 --- a/frontend/src/lib/components/apps/editor/AppEditorHeader.svelte +++ b/frontend/src/lib/components/apps/editor/AppEditorHeader.svelte @@ -935,7 +935,7 @@
-

Secret public URL

+

Public URL

- Secret public url: + Public url: {#if secretUrl} {@const url = `${$page.url.hostname}/public/${$workspaceStore}/${secretUrl}`} {@const href = $page.url.protocol + '//' + url} @@ -971,7 +971,8 @@ {:else} {/if}
You may share this url directly or embed it using an iframe (if not requiring login)
Share this url directly or embed it using an iframe (if requiring login, top-level domain + of embedding app must be the same as the one of Windmill)