This commit is contained in:
Carlos
2025-04-14 00:16:47 -04:00
parent 281200c5c5
commit 504b5ba04e

View File

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