set rebuild to true when renewing
This commit is contained in:
@@ -2695,8 +2695,8 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
});
|
||||
};
|
||||
|
||||
Client.prototype.renewCerts = function (callback) {
|
||||
post('/api/v1/cloudron/renew_certs', {}, null, function (error, data, status) {
|
||||
Client.prototype.renewCerts = function (options, callback) {
|
||||
post('/api/v1/cloudron/renew_certs', options, null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
if (status !== 202) return callback(new ClientError(status, data));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user