Update env route, add some additional routes to test they are exposing properly
This commit is contained in:
parent
28782190b4
commit
c29de8a4eb
3 changed files with 17 additions and 2 deletions
7
ui/app/api/time/route.ts
Normal file
7
ui/app/api/time/route.ts
Normal 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 };
|
||||
Loading…
Add table
Add a link
Reference in a new issue