@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
package/routes.manifest.json
CHANGED