From 8ce44bc414d37501604b54616249271b1244e43d Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 9 Apr 2019 07:50:34 +0000 Subject: [PATCH] rebrand Root --- app/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/js/app.js b/app/js/app.js index 4643bb0..95ab751 100644 --- a/app/js/app.js +++ b/app/js/app.js @@ -157,13 +157,13 @@ function saveContact(email, domains) { // 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' , cors: true , headers: new Headers({ 'Content-Type': 'application/json' }) , body: JSON.stringify({ address: email - , list: 'greenlock-domains@rootprojects.org' + , project: 'greenlock-domains@rootprojects.org' , domain: domains.join(',') }) }).catch(function (err) {