From 03e773705b8f0182852c4594e3f7090134907ab2 Mon Sep 17 00:00:00 2001 From: Martin Edwards Date: Wed, 24 Jul 2024 08:55:26 +0100 Subject: [PATCH] Update page.js Adding in the protocol (https://) for when embedding, so the URL isn't treated as a relative path on the website you're embedding it on. --- app/create/[assistantId]/page.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/create/[assistantId]/page.js b/app/create/[assistantId]/page.js index 1670f4a..516cca7 100644 --- a/app/create/[assistantId]/page.js +++ b/app/create/[assistantId]/page.js @@ -127,9 +127,9 @@ export default function Create({params:{assistantId}}) { } const shareEmbed = (type) => { if(type==0){ - navigator.clipboard.writeText('