Skip to content

Commit e368468

Browse files
authored
package: navigate with index.html explicitly (#840)
On object storage, directory index is not available, so use generated DIRECTORY/index.html explicitly. Signed-off-by: Kentaro Hayashi <[email protected]>
1 parent c37f2aa commit e368468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fluent-package/make-index-html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<% end %>
3737
<% files.each do |file| %>
3838
<% if File.directory?(file) %>
39-
<li><a href="/<%= relative_path %>/<%= file %>"><i class="ri-folder-line"></i> <%= file %></span></a>
39+
<li><a href="/<%= relative_path %>/<%= file %>/index.html"><i class="ri-folder-line"></i> <%= file %></span></a>
4040
<% else %>
4141
<li><a href="/<%= relative_path %>/<%= file %>"><i class="ri-file-download-line"></i> <%= file %></span></a>
4242
<%= sprintf("%.2f", File.stat(file).size / 1024 / 1024.0) %> MiB

0 commit comments

Comments
 (0)