DDoS rewrite fixes
parent
1e5cb0bbd0
commit
7e0dbee2ca
|
@ -141,9 +141,10 @@ const nextConfig = {
|
||||||
source: "/api/auth/:path*",
|
source: "/api/auth/:path*",
|
||||||
has: [
|
has: [
|
||||||
{
|
{
|
||||||
type: "header",
|
type: "query",
|
||||||
key: "User-Agent",
|
key: "callbackUrl",
|
||||||
value: "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)",
|
// prettier-ignore
|
||||||
|
value: "^(?!https?:\/\/).*$",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
destination: "/404",
|
destination: "/404",
|
||||||
|
|
Loading…
Reference in New Issue