rebrand Root

This commit is contained in:
AJ ONeal 2019-04-09 07:50:34 +00:00
parent ab67741604
commit 8ce44bc414
1 changed files with 2 additions and 2 deletions

View File

@ -157,13 +157,13 @@
function saveContact(email, domains) { function saveContact(email, domains) {
// to be used for good, not evil // to be used for good, not evil
return window.fetch('https://api.rootprojects.org/api/rootprojects.org/public/list', { return window.fetch('https://api.rootprojects.org/api/rootprojects.org/public/community', {
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({ , body: JSON.stringify({
address: email address: email
, list: 'greenlock-domains@rootprojects.org' , project: 'greenlock-domains@rootprojects.org'
, domain: domains.join(',') , domain: domains.join(',')
}) })
}).catch(function (err) { }).catch(function (err) {