DDoS rewrite fixes

This commit is contained in:
zomars
2022-08-16 16:28:19 -06:00
parent 1e5cb0bbd0
commit 7e0dbee2ca
+4 -3
View File
@@ -141,9 +141,10 @@ const nextConfig = {
source: "/api/auth/:path*",
has: [
{
type: "header",
key: "User-Agent",
value: "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)",
type: "query",
key: "callbackUrl",
// prettier-ignore
value: "^(?!https?:\/\/).*$",
},
],
destination: "/404",