aboutsummaryrefslogtreecommitdiff
path: root/apps/web
diff options
context:
space:
mode:
authorDhravya <[email protected]>2024-06-24 22:11:05 -0500
committerDhravya <[email protected]>2024-06-24 22:11:05 -0500
commitdcf5cffdf0a90318f9408115b7446c5669c3611a (patch)
tree594e7cb09f57aa0089ab2302a7488d5f9bf05677 /apps/web
parentfix: redirect if not logged in (diff)
downloadsupermemory-dcf5cffdf0a90318f9408115b7446c5669c3611a.tar.xz
supermemory-dcf5cffdf0a90318f9408115b7446c5669c3611a.zip
use gpt-4o again, responses are considerably better.
Diffstat (limited to 'apps/web')
-rw-r--r--apps/web/app/api/telegram/route.ts4
-rw-r--r--apps/web/wrangler.toml8
2 files changed, 8 insertions, 4 deletions
diff --git a/apps/web/app/api/telegram/route.ts b/apps/web/app/api/telegram/route.ts
index 59177c4e..000b473a 100644
--- a/apps/web/app/api/telegram/route.ts
+++ b/apps/web/app/api/telegram/route.ts
@@ -107,3 +107,7 @@ bot.on("message", async (ctx) => {
});
export const POST = webhookCallback(bot, "std/http");
+
+export const GET = async () => {
+ return new Response("OK", { status: 200 });
+};
diff --git a/apps/web/wrangler.toml b/apps/web/wrangler.toml
index da9cd616..a2ac88d0 100644
--- a/apps/web/wrangler.toml
+++ b/apps/web/wrangler.toml
@@ -14,8 +14,8 @@ bucket_name = "dev-r2-anycontext"
[[d1_databases]]
binding = "DATABASE"
-# database_name = "prod-d1-supermemory"
-# database_id = "f527a727-c472-41d4-8eaf-3d7ba0f2f395"
+database_name = "prod-d1-supermemory"
+database_id = "f527a727-c472-41d4-8eaf-3d7ba0f2f395"
-database_name = "dev-d1-anycontext"
-database_id = "fc562605-157a-4f60-b439-2a24ffed5b4c" \ No newline at end of file
+# database_name = "dev-d1-anycontext"
+# database_id = "fc562605-157a-4f60-b439-2a24ffed5b4c" \ No newline at end of file