move subscription API path to /nodes
This aligns it with PVE and allows the widget toolkit's update window "refresh" to work without modifications once POST /apt/update is implemented. Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
956295cefe
commit
113c9b5981
@ -209,7 +209,7 @@ Ext.define('PBS.Dashboard', {
|
||||
autoDestroy: true,
|
||||
proxy: {
|
||||
type: 'proxmox',
|
||||
url: '/api2/json/subscription'
|
||||
url: '/api2/json/nodes/localhost/subscription'
|
||||
},
|
||||
listeners: {
|
||||
load: 'updateSubscription'
|
||||
|
@ -37,7 +37,7 @@ Ext.define('PBS.Subscription', {
|
||||
me.rstore.load();
|
||||
};
|
||||
|
||||
var baseurl = '/subscription';
|
||||
var baseurl = '/nodes/localhost/subscription';
|
||||
|
||||
var render_status = function(value) {
|
||||
|
||||
|
Reference in New Issue
Block a user