@anthusai/papyrus 1.0.0-next.13 → 1.0.0-next.15

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.
@@ -245,6 +245,7 @@ export class AmplifyAppShellStack extends Stack {
245
245
  platform: "WEB",
246
246
  iamServiceRole: readerServiceRole.roleArn,
247
247
  buildSpec: readerBuildSpec(config),
248
+ customRules: [{ source: "/<*>", target: "/404.html", status: "404-200" }],
248
249
  });
249
250
  const readerBranch = new amplify.CfnBranch(this, "ReaderBranch", {
250
251
  appId: readerApp.attrAppId,
@@ -293,6 +293,7 @@ export class AmplifyAppShellStack extends Stack {
293
293
  platform: "WEB",
294
294
  iamServiceRole: readerServiceRole.roleArn,
295
295
  buildSpec: readerBuildSpec(config),
296
+ customRules: [{ source: "/<*>", target: "/404.html", status: "404-200" }],
296
297
  });
297
298
 
298
299
  const readerBranch = new amplify.CfnBranch(this, "ReaderBranch", {
package/package.json CHANGED
@@ -277,7 +277,7 @@
277
277
  "optional": true
278
278
  }
279
279
  },
280
- "version": "1.0.0-next.13",
280
+ "version": "1.0.0-next.15",
281
281
  "dependencies": {
282
282
  "@aws-amplify/adapter-nextjs": "^1.7.3",
283
283
  "@aws-sdk/client-cognito-identity-provider": "3.1045.0",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-next.13",
2
+ "version": "1.0.0-next.15",
3
3
  "routes": [
4
4
  {
5
5
  "file": "app/%5F_preview/[[...path]]/route.ts",