cobalt/src/core
dumbmoron a375000ae9
api: use req.ip instead of cloudflare headers, ratelimit ipv6 by prefix
allows for more versatile configurations that do not necessarily have to use cloudflare

also ratelimits IPv6 addresses by prefix instead of individual addresses
currently set at /56, which should not be too strict
(yet allows a /48 holder to make 256 as many requests instead of 2^80 as many requests), change if needed
2024-01-31 10:36:19 +00:00
..
api.js api: use req.ip instead of cloudflare headers, ratelimit ipv6 by prefix 2024-01-31 10:36:19 +00:00
web.js api & web: ports in env are no longer strictly required 2023-12-02 22:01:58 +06:00