@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 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("/", request.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
@@ -293,7 +293,7 @@
293
293
  "optional": true
294
294
  }
295
295
  },
296
- "version": "1.0.0-next.23",
296
+ "version": "1.0.0-next.24",
297
297
  "dependencies": {
298
298
  "@aws-amplify/adapter-nextjs": "^1.7.3",
299
299
  "@aws-sdk/client-cognito-identity-provider": "3.1045.0",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-next.23",
2
+ "version": "1.0.0-next.24",
3
3
  "routes": [
4
4
  {
5
5
  "file": "app/%5F_preview/[[...path]]/route.ts",