diff --git a/ui/packages/consul-ui/app/routes/dc/services/show.js b/ui/packages/consul-ui/app/routes/dc/services/show.js index 8b9a72ca3a..9ed3407244 100644 --- a/ui/packages/consul-ui/app/routes/dc/services/show.js +++ b/ui/packages/consul-ui/app/routes/dc/services/show.js @@ -16,7 +16,7 @@ export default Route.extend({ items: this.data.source( uri => uri`/${nspace}/${dc}/service-instances/for-service/${params.name}` ), - urls: this.config.get().dashboard_url_template, + urls: this.config.get().dashboard_url_templates, chain: null, proxies: [], topology: null, diff --git a/ui/packages/consul-ui/lib/startup/templates/head.html.js b/ui/packages/consul-ui/lib/startup/templates/head.html.js index 05b653a596..35c217e1f1 100644 --- a/ui/packages/consul-ui/lib/startup/templates/head.html.js +++ b/ui/packages/consul-ui/lib/startup/templates/head.html.js @@ -7,7 +7,7 @@ module.exports = ({ appName, environment, rootURL, config }) => ` JSON.stringify({ metrics_provider: 'prometheus', metrics_proxy_enabled: true, - dashboard_url_template: { + dashboard_url_templates: { service: 'https://example.com?{{Service.Name}}&{{Datacenter}}', }, })