mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 09:07:47 +01:00
11 lines
No EOL
253 B
TypeScript
11 lines
No EOL
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
|
|
});
|
|
}); |