diff --git a/static/js/shorten.js b/static/js/shorten.js index 90c1be8..b531ec3 100644 --- a/static/js/shorten.js +++ b/static/js/shorten.js @@ -13,7 +13,11 @@ const populateRedirects = async (redirKey) => { for (const redirect of redirects) { body.appendChild( h("tr", {}, [ - h("td", {}, h("pre", {}, [redirect.path])), + h( + "td", + {}, + h("a", { href: "/" + redirect.path }, [h("pre", {}, [redirect.path])]) + ), h( "td", {},