From c7d14040b333e056f586c847696bec4d0dffdaef Mon Sep 17 00:00:00 2001 From: "Marcel Kapfer (mmk2410)" Date: Thu, 24 Nov 2016 11:13:12 +0100 Subject: [PATCH] Fix: Send mail not working in subdirectory Res: T126 --- res/dart/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/dart/main.dart b/res/dart/main.dart index 6579e18..91a437b 100644 --- a/res/dart/main.dart +++ b/res/dart/main.dart @@ -22,7 +22,7 @@ void sendMail(MouseEvent event) { "list": addresslist.value }; - String url = "/res/php/sendmail.php?data=${JSON.encode(data)}"; + String url = "res/php/sendmail.php?data=${JSON.encode(data)}"; HttpRequest.getString(url).then((response) { if (response == "0") {