update: change the service detail url
This commit is contained in:
parent
b6c341a58b
commit
dba80be9ec
@ -66,7 +66,7 @@ class ServiceDetail extends React.Component {
|
|||||||
getServiceDetail() {
|
getServiceDetail() {
|
||||||
const { serviceName } = this.state;
|
const { serviceName } = this.state;
|
||||||
request({
|
request({
|
||||||
url: `nacos/v1/ns/catalog/service?serviceName=${serviceName}`,
|
url: `v1/ns/catalog/service?serviceName=${serviceName}`,
|
||||||
beforeSend: () => this.openLoading(),
|
beforeSend: () => this.openLoading(),
|
||||||
success: ({ clusters = [], service = {} }) => this.setState({ service, clusters }),
|
success: ({ clusters = [], service = {} }) => this.setState({ service, clusters }),
|
||||||
complete: () => this.closeLoading(),
|
complete: () => this.closeLoading(),
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user