This commit is contained in:
jhnine 2022-04-19 09:39:01 +08:00
parent 5db7157879
commit 588f29c239
3 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ export function getClusterResource(url) {
// 容器概览页面--节点用量 Top5
export function getNodeBriefMessage(url, query) {
return request({
url: '/jcc-extend/container/node/' + url + '/getNodeResourceSort',
url: process.env.VUE_APP_FUNCTION_API + '/jcc-extend/container/node/' + url + '/getNodeResourceSort',
method: 'get',
params: query
})
@ -37,7 +37,7 @@ export function getNodeBriefMessage(url, query) {
export function getNodeMessageTop(url) {
return request({
url: '/jcc-extend/container/node/' + url + '/getClusterNode',
url: process.env.VUE_APP_FUNCTION_API + '/jcc-extend/container/node/' + url + '/getClusterNode',
method: 'get'
})
}

File diff suppressed because one or more lines are too long

View File

@ -95,7 +95,7 @@ module.exports = {
},
'^/jcc-extend/': {
ws: false,
target: 'http://10.101.15.6:8000/' /* Host */
target: 'http://10.101.15.6/apis/v1' /* Host */
},
'^/virtual': {
ws: false,