Easier copy-linking for shortened URLs

main
Charlotte Som 2022-07-26 05:08:00 +01:00
parent 2ded816aa7
commit 54f712f294
1 changed files with 5 additions and 1 deletions

View File

@ -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",
{},