This commit is contained in:
Carlos
2025-04-12 12:56:25 -04:00
parent 36a7b2b036
commit 812e60011d

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
"144.160.240.69" // another ip
"::1", // localhost IPv6
"127.0.0.1", // localhost IPv4
];