mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-05 06:14:01 +00:00
block proxy field, use proxied instead
This commit is contained in:
1 parent
21ddcffa81
commit
69d9dab089
1 file changed
+1
-1
+1
-1
@@ -28,7 +28,7 @@ const optionalRedirectConfigFields = {
|
||||
redirect_paths: "boolean"
|
||||
};
|
||||
|
||||
const blockedFields = ["domain", "internal", "reserved", "subdomain"];
|
||||
const blockedFields = ["domain", "internal", "proxy", "reserved", "subdomain"];
|
||||
|
||||
const emailRegex = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
|
||||
const hostnameRegex = /^(?=.{1,253}$)(?:(?:[_a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)\.)+[a-zA-Z]{2,63}$/;
|
||||
|
||||
Reference in new issue
Block a user