From b1d1fbd75f14dfd5491f3717b2bd26968c3dae92 Mon Sep 17 00:00:00 2001 From: Sophia Willows <20146550+sophiabits@users.noreply.github.com> Date: Wed, 31 Jul 2024 16:33:14 +1200 Subject: [PATCH] socraticbot.framer.ai -> socratic.bot --- .../javascripts/discourse/initializers/custom-modal-button.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/javascripts/discourse/initializers/custom-modal-button.js b/assets/javascripts/discourse/initializers/custom-modal-button.js index b0bdd2e..eecd009 100644 --- a/assets/javascripts/discourse/initializers/custom-modal-button.js +++ b/assets/javascripts/discourse/initializers/custom-modal-button.js @@ -22,7 +22,7 @@ function initializeWithApi(api) { const textValue = editor.getText(); const test = encodeURIComponent(textValue); //Replace with actual URL - const encodedTextValue = `https://socraticbot.framer.ai/agora?q=${test}`; + const encodedTextValue = `https://socratic.bot/agora?q=${test}`; toolbar.context.send("openSocraticModal", textValue, encodedTextValue); }, }); @@ -52,7 +52,7 @@ function getTextAreaValue(api) { const test = encodeURIComponent(textValue); //Replace with actual URL //TO DO: Considerar pass the base URL as param or with .env, could be fun ! - const encodedTextValue = `https://socraticbot.framer.ai/agora?q=${test}`; + const encodedTextValue = `https://socratic.bot/agora?q=${test}`; // Open the modal const context = api.container.lookup("component:d-editor");