Skip to content

Commit

Permalink
Merge pull request #1 from sophiabits/sophia/update-socraticbot-url
Browse files Browse the repository at this point in the history
socraticbot.framer.ai -> socratic.bot
  • Loading branch information
0xAstraea authored Aug 2, 2024
2 parents 071580d + b1d1fbd commit baef7c0
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 baef7c0

Please sign in to comment.