diff --git a/activate.html b/activate.html index cd4c38a..6e480fa 100644 --- a/activate.html +++ b/activate.html @@ -27,7 +27,7 @@ console.log("formData is:"); console.log(JSON.stringify(form_json)); - fetch('https://pastor-insights-service.gaianet.ai/webhook/ahg0lRP83barIc5if7N4/activate/' + form_json['code'], { + fetch('https://flows.pastorinsights.ai/webhook/ahg0lRP83barIc5if7N4/activate/' + form_json['code'], { method: 'GET', credentials: "include", diff --git a/add_news.html b/add_news.html index 6d0f675..035bc34 100644 --- a/add_news.html +++ b/add_news.html @@ -48,7 +48,7 @@ console.log("formData is:"); console.log(JSON.stringify(form_json)); - fetch('https://pastor-insights-service.gaianet.ai/webhook/ahg0lRP83barIc5if7N4/generate_message', { + fetch('https://flows.pastorinsights.ai/webhook/ahg0lRP83barIc5if7N4/generate_message', { method: 'POST', credentials: "include", headers: { @@ -92,7 +92,7 @@ console.log("formData is:"); console.log(JSON.stringify(form_json)); - fetch('https://pastor-insights-service.gaianet.ai/webhook/ahg0lRP83barIc5if7N4/save_message/' + form_json['passcode'], { + fetch('https://flows.pastorinsights.ai/webhook/ahg0lRP83barIc5if7N4/save_message/' + form_json['passcode'], { method: 'POST', credentials: "include", headers: { @@ -108,7 +108,7 @@ console.log(data); if (data['status']) { console.log("Sending message now"); - fetch('https://pastor-insights-service.gaianet.ai/webhook/ahg0lRP83barIc5if7N4/send_message/' + form_json['passcode'] + '/' + form_json['profile'], { + fetch('https://flows.pastorinsights.ai/webhook/ahg0lRP83barIc5if7N4/send_message/' + form_json['passcode'] + '/' + form_json['profile'], { method: 'GET', credentials: "include" diff --git a/index.html b/index.html index 97abac6..04e5df4 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,7 @@ console.log("formData is:"); console.log(JSON.stringify(form_json)); - fetch('https://pastor-insights-service.gaianet.ai/webhook/ahg0lRP83barIc5if7N4/register', { + fetch('https://flows.pastorinsights.ai/webhook/ahg0lRP83barIc5if7N4/register', { method: 'POST', credentials: "include", headers: { diff --git a/request_update.html b/request_update.html index 247afea..7452b0d 100644 --- a/request_update.html +++ b/request_update.html @@ -22,7 +22,7 @@ console.log("formData is:"); console.log(JSON.stringify(form_json)); - fetch('https://pastor-insights-service.gaianet.ai/webhook/ahg0lRP83barIc5if7N4/request_update', { + fetch('https://flows.pastorinsights.ai/webhook/ahg0lRP83barIc5if7N4/request_update', { method: 'POST', credentials: "include", headers: { diff --git a/update_profile.html b/update_profile.html index 38d5865..9322b49 100644 --- a/update_profile.html +++ b/update_profile.html @@ -22,7 +22,7 @@ console.log("formData is:"); console.log(JSON.stringify(form_json)); - fetch('https://pastor-insights-service.gaianet.ai/webhook/ahg0lRP83barIc5if7N4/update_profile', { + fetch('https://flows.pastorinsights.ai/webhook/ahg0lRP83barIc5if7N4/update_profile', { method: 'POST', credentials: "include", headers: {