commit 97fb7b5b96b66ee1b476cb9f74c8be0742c57c50
parent f6de144cbb2ab638060abbbe360cf30949991358
Author: BlackDex <black.dex@gmail.com>
Date: Wed, 26 Feb 2020 16:58:57 +0100
Added urlpath to smtpTest function
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/static/templates/admin/page.hbs b/src/static/templates/admin/page.hbs
@@ -286,7 +286,7 @@
inv = document.getElementById("smtp-test-email");
data = JSON.stringify({ "email": inv.value });
inv.value = "";
- _post("/admin/test/smtp/",
+ _post("{{urlpath}}/admin/test/smtp/",
"SMTP Test email sent correctly",
"Error sending SMTP test email", data);
return false;