11 lines
234 B
TypeScript
11 lines
234 B
TypeScript
import type { NextApiRequest, NextApiResponse } from "next";
|
|
import config from "@/config";
|
|
|
|
export default function handler(
|
|
req: NextApiRequest,
|
|
res: NextApiResponse,
|
|
) {
|
|
config.begin = true;
|
|
res.status(200).json(config);
|
|
}
|