From a320575fa976a4f6c1ee1910b261a49d5a98e815 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Mon, 3 Jun 2024 18:49:38 +0100 Subject: [PATCH] Improve index generator --- src/static/index.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/static/index.html b/src/static/index.html index 7971865..05d2e27 100644 --- a/src/static/index.html +++ b/src/static/index.html @@ -31,7 +31,7 @@ let p = document.createElement("p"); p.textContent = "Your redirect has been created. You can access it at the following URL: "; p.appendChild(a); - document.getElementById("result").appendChild(p); + document.getElementById("result").prepend(p); } ) } else { @@ -62,6 +62,15 @@

+ +
+ +