switch mail container to http

This commit is contained in:
Girish Ramakrishnan
2021-12-19 00:30:22 -08:00
parent 7aded4aed7
commit 43f33a34b8
2 changed files with 2 additions and 3 deletions

View File

@@ -1207,9 +1207,8 @@ async function removeSolrIndex(mailbox) {
const addonDetails = await services.getContainerDetails('mail', 'CLOUDRON_MAIL_TOKEN');
const [error, response] = await safe(superagent.post(`https://${addonDetails.ip}:3000/solr_delete_index?access_token=${addonDetails.token}`)
const [error, response] = await safe(superagent.post(`http://${addonDetails.ip}:3000/solr_delete_index?access_token=${addonDetails.token}`)
.timeout(2000)
.disableTLSCerts()
.send({ mailbox })
.ok(() => true));