Skip to content

Commit 808123b

Browse files
rasensioanikethsaha
authored andcommitted
Added a redirect for images to show up in Amplify (#918)
Without the redirect images are not displaying in Amplify after deploying. Once added the redirect all PNGs showed up.
1 parent daf54b9 commit 808123b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/deploy.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,10 @@ frontend:
128128
129129
```
130130

131-
6. Add the following Redirect rules in their displayed order.
131+
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.
132132

133133
| Source address | Target address | Type |
134134
|----------------|----------------|---------------|
135135
| /<*>.md | /<*>.md | 200 (Rewrite) |
136+
| /<*>.png | /<*>.png | 200 (Rewrite) |
136137
| /<*> | /index.html | 200 (Rewrite) |

0 commit comments

Comments
 (0)