cdn

Log | Files | Refs | Activity

commit 3eade055e9af70f05d42542608efaf478fffedd2
parent ea3e6213c5e4df5f30e45937759beee1954a866d
Author: Amit Dutta <mail@amit.is-a.dev>
Date:   Thu,  3 Sep 2026 16:47:22 +0530

Update raw URL handling in index.html
Diffstat:
Mapp/templates/index.html | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/templates/index.html b/app/templates/index.html @@ -380,11 +380,11 @@ const row = rows[item.filename]; if (!row) return; row.classList.add('done'); + const rawPath = item.raw_url.substring(item.raw_url.indexOf('/raw/')); row.innerHTML = ` <div style="overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding-right:1rem; color: #2ea043;">${item.filename}</div> <div style="white-space:nowrap; display:flex; gap:0.75rem;"> - <a href="${item.raw_url}" target="_blank">raw</a> - <a href="${item.cdn_url}" target="_blank">view</a> + <a href="${rawPath}" target="_blank">raw</a> </div> `; });
© notamitgamer • Site Built: 2026-09-05 01:53:16 UTC • git-mirror commit: c170d72 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror