diff options
| author | Dhravya <[email protected]> | 2024-07-01 07:55:16 -0500 |
|---|---|---|
| committer | Dhravya <[email protected]> | 2024-07-01 07:55:16 -0500 |
| commit | b00dbd46476636fea1f48bf5164136e3bf217349 (patch) | |
| tree | 2403fd1c546dd6fc0b94e5d72f6fb313e855a7f7 /apps/web/app | |
| parent | merge conflicts (diff) | |
| download | supermemory-dev.tar.xz supermemory-dev.zip | |
minor changes in extensiondev
Diffstat (limited to 'apps/web/app')
| -rw-r--r-- | apps/web/app/(dash)/memories/content.tsx | 5 | ||||
| -rw-r--r-- | apps/web/app/actions/doers.ts | 2 | ||||
| -rw-r--r-- | apps/web/app/api/telegram/route.ts | 4 |
3 files changed, 5 insertions, 6 deletions
diff --git a/apps/web/app/(dash)/memories/content.tsx b/apps/web/app/(dash)/memories/content.tsx index c25fdce4..f34e9523 100644 --- a/apps/web/app/(dash)/memories/content.tsx +++ b/apps/web/app/(dash)/memories/content.tsx @@ -166,7 +166,7 @@ function LinkComponent({ }) { return ( <Link - href={url.replace("https://beta.supermemory.ai", "").split("#")[0] ?? "/"} + href={url.replace("https://supermemory.ai", "").split("#")[0] ?? "/"} className={`bg-secondary border-2 border-border rounded-xl ${type === "tweet" ? "" : "p-4"} hover:scale-105 transition duration-200`} > {type === "page" ? ( @@ -176,8 +176,7 @@ function LinkComponent({ </div> <div className="text-lg text-[#fff] mt-4 line-clamp-2">{title}</div> <div> - {url.replace("https://beta.supermemory.ai", "").split("#")[0] ?? - "/"} + {url.replace("https://supermemory.ai", "").split("#")[0] ?? "/"} </div> </> ) : type === "note" ? ( diff --git a/apps/web/app/actions/doers.ts b/apps/web/app/actions/doers.ts index 98104ebd..035b85ec 100644 --- a/apps/web/app/actions/doers.ts +++ b/apps/web/app/actions/doers.ts @@ -172,7 +172,7 @@ export const createMemory = async (input: { pageContent = input.content; noteId = new Date().getTime(); metadata = { - baseUrl: `https://beta.supermemory.ai/note/${noteId}`, + baseUrl: `https://supermemory.ai/note/${noteId}`, description: `Note created at ${new Date().toLocaleString()}`, image: "https://supermemory.ai/logo.png", title: `${pageContent.slice(0, 20)} ${pageContent.length > 20 ? "..." : ""}`, diff --git a/apps/web/app/api/telegram/route.ts b/apps/web/app/api/telegram/route.ts index c6c673b2..5f824b79 100644 --- a/apps/web/app/api/telegram/route.ts +++ b/apps/web/app/api/telegram/route.ts @@ -21,7 +21,7 @@ bot.command("start", async (ctx) => { const cipherd = cipher(user.id.toString()); await ctx.reply( - `Welcome to Supermemory bot. I am here to help you remember things better. Click here to create and link your account: https://beta.supermemory.ai/signin?telegramUser=${cipherd}`, + `Welcome to Supermemory bot. I am here to help you remember things better. Click here to create and link your account: https://supermemory.ai/signin?telegramUser=${cipherd}`, ); }); @@ -38,7 +38,7 @@ bot.on("message", async (ctx) => { if (!dbUser) { await ctx.reply( - `Welcome to Supermemory bot. I am here to help you remember things better. Click here to create and link your account: https://beta.supermemory.ai/signin?telegramUser=${cipherd}`, + `Welcome to Supermemory bot. I am here to help you remember things better. Click here to create and link your account: https://supermemory.ai/signin?telegramUser=${cipherd}`, ); return; |