For the object that represents the index.html file of the same name directory.
This is per https://bugzilla.mozilla.org/show_bug.cgi?id=1619765. The deployment
script already creates a same named object for any directory that contains an
index.html file. We now set the x-amz-website-redirect-location for this object
so that access to /betterweb for example, gets 301 redirected to /betterweb/.
For the object that represents the index.html file of the same name directory.
This is per https://bugzilla.mozilla.org/show_bug.cgi?id=1619765. The deployment script already creates a same named object for any directory that contains an index.html file. We now set the x-amz-website-redirect-location for this object so that access to
/betterweb
for example, gets 301 redirected to/betterweb/
.