mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-09 17:04:30 +08:00
removed the auth requirement from leaderboard endpoint
This commit is contained in:
parent
9a80ed0fd4
commit
854971e760
1 changed files with 2 additions and 6 deletions
|
|
@ -6,13 +6,9 @@ const { Router } = require("express");
|
|||
|
||||
const router = Router();
|
||||
|
||||
router.get(
|
||||
"/",
|
||||
RateLimit.limit1persec,
|
||||
authenticateRequest,
|
||||
LeaderboardsController.get
|
||||
);
|
||||
router.get("/", RateLimit.limit1persec, LeaderboardsController.get);
|
||||
|
||||
//TODO remove me
|
||||
router.post(
|
||||
"/debug_update",
|
||||
RateLimit.limit1persec,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue