move v1 to v1 dir, add build workflow

This commit is contained in:
Alex Holliday committed 2025-09-23 11:59:02 -07:00
1 parent 0030394008
commit f945a27011
46 files changed
+136 -64

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
import rateLimit from "express-rate-limit";
export const generalApiLimiter = rateLimit({
window: 60 * 1000,
limit: 600,
standardHeaders: true,
legacyHeaders: false,
ipv6Subnet: 64,
});
export const authApiLimiter = rateLimit({
window: 60 * 1000,
limit: 15,
standardHeaders: true,
legacyHeaders: false,
ipv6Subnet: 64,
});