handler: Custom prefix length

This commit is contained in:
2025-08-13 09:14:41 +08:00
parent f16c3164fe
commit 0c3cb5e6aa
5 changed files with 37 additions and 13 deletions
+8 -1
View File
@@ -1,4 +1,11 @@
import handler from "../../common.js";
export default async (request) =>
handler(request, Netlify.env.get("DNS"), Netlify.env.get("API"), Netlify.context.ip);
handler(
request,
Netlify.env.get("DNS"),
Netlify.env.get("API"),
Netlify.env.get("IPV4_PREFIX"),
Netlify.env.get("IPV6_PREFIX"),
Netlify.context.ip
);
export const config = { path: "*" };