init
This commit is contained in:
10
pages/api/pause.ts
Normal file
10
pages/api/pause.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import type { NextApiRequest, NextApiResponse } from "next";
|
||||
import config from "@/config";
|
||||
|
||||
export default function handler(
|
||||
req: NextApiRequest,
|
||||
res: NextApiResponse,
|
||||
) {
|
||||
config.begin = false;
|
||||
res.status(200).json(config);
|
||||
}
|
||||
Reference in New Issue
Block a user