We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d90119f commit cb288daCopy full SHA for cb288da
src/apifetch.ts
@@ -263,7 +263,7 @@ const executeApiFetch: ExecuteApiFetch = function (
263
else if (type === 'ai-answers') {
264
// TODO use apiHostname instead of hardcoded URL
265
apiInstance
266
- .post(`https://api.addsearch.com/v2/indices/${sitekey}/conversations`, {
+ .post(`https://${apiHostname}/v2/indices/${sitekey}/conversations`, {
267
question: settings?.keyword
268
})
269
.then(function (response: AxiosResponse<ConversationsApiResponse>) {
0 commit comments