Browse Source

update contact info

master
AJ ONeal 6 years ago
parent
commit
613f1ba75e
  1. 8
      app/js/app.js

8
app/js/app.js

@ -84,7 +84,11 @@
method: 'POST' method: 'POST'
, cors: true , cors: true
, headers: new Headers({ 'Content-Type': 'application/json' }) , 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) { }).then(function (resp) {
return resp.json().then(function (data) { 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."); window.alert("Didn't get your contact. Bad network connection? Email coolaj86@gmail.com instead.");
*/ */

Loading…
Cancel
Save