Skip to content

Commit

Permalink
Put up an echo endpoint just to get a minimum bound on latency.
Browse files Browse the repository at this point in the history
  • Loading branch information
aboodman committed Feb 18, 2021
1 parent 16d8cbd commit c77322f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pages/api/echo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import type { NextApiRequest, NextApiResponse } from "next";

export default async (req: NextApiRequest, res: NextApiResponse) => {
res.send('hello, world');
res.end();
}

0 comments on commit c77322f

Please sign in to comment.