Easier copy-linking for shortened URLs

This commit is contained in:
Charlotte Som 2022-07-26 05:08:00 +01:00
parent 2ded816aa7
commit 54f712f294

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