This commit is contained in:
Carlos
2025-04-14 00:14:56 -04:00
parent a006ba64f4
commit d541ce6bb9

View File

@ -13,6 +13,7 @@ app.use(bodyParser.json());
const validateApiKey = (req, res, next) => {
const trustedIps = [
"2600:1702:6f0a:3c00:d065:e1b4:ac3b:d889", // Cloudflare real IP
"192.168.1.149",
"144.160.240.69", // another ip
"::1", // localhost IPv6
"127.0.0.1", // localhost IPv4