mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
15 lines
267 B
TypeScript
15 lines
267 B
TypeScript
import { NextResponse } from 'next/server'
|
|
import foo from '../../foo.js'
|
|
// @ts-expect-error -- ignore
|
|
import bar from '../../bar.js?test=hi'
|
|
|
|
export async function GET(_req) {
|
|
return NextResponse.json(
|
|
{
|
|
foo,
|
|
bar,
|
|
},
|
|
{ status: 200 }
|
|
)
|
|
}
|