update: change the service detail url

This commit is contained in:
zhichen 2019-03-13 17:54:27 +08:00
parent b6c341a58b
commit dba80be9ec
3 changed files with 11 additions and 11 deletions

View File

@ -66,7 +66,7 @@ class ServiceDetail extends React.Component {
getServiceDetail() {
const { serviceName } = this.state;
request({
url: `nacos/v1/ns/catalog/service?serviceName=${serviceName}`,
url: `v1/ns/catalog/service?serviceName=${serviceName}`,
beforeSend: () => this.openLoading(),
success: ({ clusters = [], service = {} }) => this.setState({ service, clusters }),
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