don't remove leading slash

This commit is contained in:
dreamer 2026-04-13 21:27:08 +02:00
parent b86f583f42
commit 3aec58719b

View File

@ -11,7 +11,7 @@ local function Roothandler(self)
local latest_path, latest_name = hotmixes.utils.these_latest( path )
self.total = hotmixes.utils.total_files_dir( path )
self.uri = hotmixes.utils.request_path:sub(2) -- remove leading slash
self.uri = hotmixes.utils.request_path
self.path = '/data/' .. self.titles.url .. hotmixes.utils.request_path
self.dirs = stuff.dirs
self.files = stuff.files