Skip to content

Commit 4e8b386

Browse files
test1
1 parent 7434156 commit 4e8b386

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/items-app/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ async function handle(req: Request): Promise<Response> {
9393
if (!path.startsWith(API_PREFIX)) return notFound();
9494
path = path.slice(API_PREFIX.length) || "/";
9595

96+
if (path === "/test1" && req.method === "GET") return json({ status: "test1" });
9697
if (path === "/health" && req.method === "GET") return json({ status: "ok" });
9798
if (path === "/items" && req.method === "GET") return json({ items });
9899

0 commit comments

Comments
 (0)