The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: edge function routing example returns 404 instead of 200 (#27335)
Hugo Bock81380e3e6730
diff --git a/apps/docs/content/guides/functions/routing.mdx b/apps/docs/content/guides/functions/routing.mdxindex 037a4f0fb60..118de6c8bcb 100644--- a/apps/docs/content/guides/functions/routing.mdx+++ b/apps/docs/content/guides/functions/routing.mdx@@ -67,7 +67,7 @@ import { Router } from "jsr:@oak/oak@15/router";const router = new Router();router.get("/hello-world", (ctx) => {-return new Response("Hello World!", {status: 200});+ctx.response.body = "Hello world!";});router.post("/hello-world", async (ctx) => {