add ipv6 configure form
This commit is contained in:
@@ -962,7 +962,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
};
|
||||
|
||||
Client.prototype.setIPv6Config = function (config, callback) {
|
||||
post('/api/v1/settings/ipv6', config, null, function (error, data, status) {
|
||||
post('/api/v1/settings/ipv6_config', config, null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
if (status !== 200) return callback(new ClientError(status, data));
|
||||
callback(null);
|
||||
@@ -970,7 +970,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
};
|
||||
|
||||
Client.prototype.getIPv6Config = function (callback) {
|
||||
get('/api/v1/settings/ipv6', null, function (error, data, status) {
|
||||
get('/api/v1/settings/ipv6_config', null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
if (status !== 200) return callback(new ClientError(status, data));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user