Adjust the webadmin code for cert upload

This commit is contained in:
Johannes Zellner
2015-10-27 18:38:44 +01:00
parent 01ead194d8
commit 8ffd7b0197

View File

@@ -448,7 +448,7 @@ angular.module('Application').service('Client', ['$http', 'md5', 'Notification',
fd.append('certificate', certificateFile);
fd.append('key', keyFile);
$http.post(client.apiOrigin + '/api/v1/cloudron/certificate', fd, {
$http.post(client.apiOrigin + '/api/v1/settings/certificate', fd, {
headers: { 'Content-Type': undefined },
transformRequest: angular.identity
}).success(function(data, status) {