Ensure trailing slash to fix relative url's

This commit is contained in:
Reimar 2025-03-15 16:23:32 +01:00
parent 7a384b0885
commit c4b556bde4
Signed by: Reimar
GPG Key ID: 93549FA07F0AE268

View File

@ -9,6 +9,9 @@
<link rel="manifest" href="webmanifest.json" />
<link rel="stylesheet" href="style.css" />
<script>
if (!location.pathname.endsWith("/"))
location.pathname += "/";
function getLink() {
var phone = document.getElementById("phone").value.replace(/\D/g, "");
var message = document.getElementById("message-wrapper").open