mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-13 02:14:32 +01:00
11 lines
253 B
TypeScript
11 lines
253 B
TypeScript
|
import { Router } from "express";
|
||
|
export const UserCounter = Router();
|
||
|
|
||
|
UserCounter.post("/api/v1/addIP", (req, res) => {
|
||
|
res.sendStatus(200);
|
||
|
});
|
||
|
UserCounter.get("/api/v1/userCount", (req, res) => {
|
||
|
res.send({
|
||
|
userCount: 100
|
||
|
});
|
||
|
});
|