From fe81094ac4389ff58de36ee0c164a8cba60549b3 Mon Sep 17 00:00:00 2001 From: Rodrigo Asensio Date: Sun, 8 Sep 2019 11:21:44 +0200 Subject: [PATCH] Added a redirect for images to show up in Amplify Without the redirect images are not displaying in Amplify after deploying. Once added the redirect all PNGs showed up. --- docs/deploy.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/deploy.md b/docs/deploy.md index 7d47e0f73..46604f43c 100644 --- a/docs/deploy.md +++ b/docs/deploy.md @@ -122,10 +122,11 @@ frontend: ``` -6. Add the following Redirect rules in their displayed order. +6. Add the following Redirect rules in their displayed order. Note that the second record is a PNG image where you can change it with any image format you are using. | Source address | Target address | Type | |----------------|----------------|---------------| | /<*>.md | /<*>.md | 200 (Rewrite) | +| /<*>.png | /<*>.png | 200 (Rewrite) | | /<*> | /index.html | 200 (Rewrite) |