next-pipe-middleware
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "next-pipe-middleware", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -96,3 +96,3 @@ # 🧵 Next Pipe Middleware | ||
if (!success) { | ||
return res; | ||
return NextResponse.rewrite(new URL('/api/basic-auth', req.url)) | ||
} | ||
@@ -99,0 +99,0 @@ |
7184