testing new changes

This commit is contained in:
zmeyer44 2023-10-25 08:49:52 -04:00
parent da065b35a2
commit 181be8c902

View File

@ -1,12 +1,15 @@
import { NextResponse } from "next/server"; import { NextResponse } from "next/server";
function handler() { function handler() {
return NextResponse.json({ const response = NextResponse.json({
names: { names: {
zach: "17717ad4d20e2a425cda0a2195624a0a4a73c4f6975f16b1593fc87fa46f2d58", zach: "17717ad4d20e2a425cda0a2195624a0a4a73c4f6975f16b1593fc87fa46f2d58",
_: "17717ad4d20e2a425cda0a2195624a0a4a73c4f6975f16b1593fc87fa46f2d58", _: "17717ad4d20e2a425cda0a2195624a0a4a73c4f6975f16b1593fc87fa46f2d58",
}, },
}).headers.set("Content-Type", "application/json"); });
response.headers.set("Content-Type", "application/json");
response.headers.set("Access-Control-Allow-Origin", "*");
return response;
} }
export { handler as GET, handler as POST }; export { handler as GET, handler as POST };