switch mail container to http
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user