We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e8d806 commit d65ec61Copy full SHA for d65ec61
cdk/lib/amplify-stack.ts
@@ -76,7 +76,7 @@ export class AmplifyStack extends cdk.Stack {
76
});
77
78
amplifyApp.addCustomRule({
79
- source: "/<*>",
+ source: "</^[^.]+$|.(?!(css|gif|ico|jpg|js|png|txt|svg|woff|woff2|ttf|map|json|webp)$)([^.]+$)/>",
80
target: "/",
81
status: RedirectStatus.NOT_FOUND_REWRITE,
82
0 commit comments