QPS Stats
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { authenticate, getStarted, setStarted } from "../../../libs/db";
|
||||
import { addAPIQPS } from "../../../libs/stats";
|
||||
|
||||
export default function handler(req, res) {
|
||||
addAPIQPS();
|
||||
// get method
|
||||
if (req.method === "GET") {
|
||||
res.setHeader("Cache-Control", "no-cache no-store must-revalidate");
|
||||
|
||||
Reference in New Issue
Block a user