@anthusai/papyrus 1.0.0-next.23 → 1.0.0-next.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/middleware.ts +1 -1
- package/package.json +1 -1
- package/routes.manifest.json +1 -1
package/middleware.ts
CHANGED
|
@@ -38,7 +38,7 @@ function routeRequest(request: NextRequest): NextResponse {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
if (pathname === "/newsroom" || pathname === "/newsroom/") {
|
|
41
|
-
return NextResponse.redirect(new URL(
|
|
41
|
+
return NextResponse.redirect(new URL(`/${request.nextUrl.search}`, request.url));
|
|
42
42
|
}
|
|
43
43
|
if (pathname.startsWith("/newsroom/")) {
|
|
44
44
|
const target = pathname.slice("/newsroom".length) || "/";
|
package/package.json
CHANGED
package/routes.manifest.json
CHANGED