feat(proxy): add instance proxy display
- Change API endpoint and parameter from instanceName to instanceID for getInstanceProxies - Update proxy list UI with type badge and structured details display - Add async/await for mounted lifecycle hooks - Improve proxy item styling with better spacing and visual hierarchy
This commit is contained in:
@@ -85,8 +85,8 @@ export const instanceApi = {
|
||||
api.post('/frpcAct/instanceMgr/restart', { instanceName }),
|
||||
getInstanceLogs: (instanceName) =>
|
||||
api.get('/frpcAct/instanceMgr/logs', { params: { instanceName } }),
|
||||
getInstanceProxies: (instanceName) =>
|
||||
api.get('/frpcAct/instanceMgr/proxies', { params: { instanceName } }),
|
||||
getInstanceProxies: (instanceID) =>
|
||||
api.get('/frpcAct/proxyMgr/list', { params: { instanceID } }),
|
||||
createProxy: (instanceID, proxyInfo) =>
|
||||
api.post('/frpcAct/proxyMgr/create', { instanceID, proxyInfo })
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user