This commit is contained in:
2026-05-06 15:39:58 +02:00
parent 911e0b5b70
commit 0a107b121d
@@ -7,6 +7,7 @@ class FilesController < ApplicationController
full_path = BASE_PATH.join(requested)
if File.directory?(full_path)
return redirect_to(request.path + "/", status: :moved_permanently) unless request.path.end_with?("/")
full_path = full_path.join('index.html')
end