diff options
author | pdp8 <pdp8@pdp8.info> | 2022-08-26 19:01:24 +0200 |
---|---|---|
committer | pdp8 <pdp8@pdp8.info> | 2022-08-26 19:01:24 +0200 |
commit | fc32ef98dfb83b69d02a31387cf4cdae96e520cd (patch) | |
tree | 57bef4bec4b1574e48335a9ca09b2ebc27f9ae79 | |
parent | 5c872a781b7585dba787b32c08ac9423ee4600cc (diff) |
mp3 path fixed
-rwxr-xr-x | html.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,7 +48,7 @@ def music_html html += "<img class='cover' src='#{cover}' alt='cover'>" html += "<table>" Dir[File.join(dir, "*mp3")].each do |mp3| - mp3 = "/" + mp3.sub(ROOT, '') + mp3 = mp3.sub(ROOT, '') html += "<tr>" html += "<td> <audio controls> |