Update env route, add some additional routes to test they are exposing properly

This commit is contained in:
Andrew Pennington 2024-08-19 12:12:00 +01:00
parent 28782190b4
commit c29de8a4eb
No known key found for this signature in database
GPG key ID: E9DA097213FD17EA
3 changed files with 17 additions and 2 deletions

7
ui/app/api/time/route.ts Normal file
View file

@ -0,0 +1,7 @@
import { NextResponse } from 'next/server';
async function requestHandler(_request: Request): NextResponse {
return NextResponse.json({ 'time': Date.now() });
}
export { requestHandler as GET };