Fix: Send mail not working in subdirectory

Res: T126
This commit is contained in:
Marcel Kapfer (mmk2410) 2016-11-24 11:13:12 +01:00
parent b5303781d6
commit c7d14040b3

View file

@ -22,7 +22,7 @@ void sendMail(MouseEvent event) {
"list": addresslist.value "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) { HttpRequest.getString(url).then((response) {
if (response == "0") { if (response == "0") {