diff --git a/app/js/app.js b/app/js/app.js index 5cf45a5..c9f2475 100644 --- a/app/js/app.js +++ b/app/js/app.js @@ -84,7 +84,11 @@ method: 'POST' , cors: true , headers: new Headers({ 'Content-Type': 'application/json' }) - , body: JSON.stringify({ address: email, comment: 'greenlock sub for ' + domains.join(',') }) + , body: JSON.stringify({ + address: email + , list: 'greenlock@ppl.family' + , domain: domains.join(',') + }) }).then(function (resp) { return resp.json().then(function (data) { /* @@ -94,7 +98,7 @@ } */ }); - }, function () { + }).catch(function () { /* window.alert("Didn't get your contact. Bad network connection? Email coolaj86@gmail.com instead."); */