Skip to content

Commit

Permalink
socraticbot.framer.ai -> socratic.bot
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiabits committed Jul 31, 2024
1 parent 071580d commit b1d1fbd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
});
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit b1d1fbd

Please sign in to comment.