This commit is contained in:
2023-02-03 21:47:54 +08:00
parent d1c66a3d80
commit 27f2bbdb47
17 changed files with 845 additions and 505 deletions

10
pages/api/pause.ts Normal file
View 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);
}