Updates to website templates, s3 listing page.
This commit is contained in:
1 parent
46b6882d41
commit
75286cbc10
3 files changed
+30
-13
No files matched your search
@@ -185,7 +185,7 @@ function renderRow(item) {
|
||||
if (item.Name == 'index.html' || item.Name.trim() == '') return "";
|
||||
var row = "<tr>";
|
||||
|
||||
if (item.Type == 'directory') {
|
||||
if (item.Type == 'directory' || item.Name.endsWith('.html')) {
|
||||
row += "<td><a href='" + item.Name + "'>" + item.Name + "</a></td>"; }
|
||||
else {
|
||||
row += "<td><a href='" + s3BucketUrl + "/" + encodeURIComponent(item.Key) + "'>" +
|
||||
|
||||
Reference in new issue
Block a user