diff --git a/plugins/deadlock-extension/src/view/briefingView.ts b/plugins/deadlock-extension/src/view/briefingView.ts index f65c871128f58310b530f728efc46d9b5adc07bc..77fc224ac373a5f14938bc2fbf70b1a313980699 100644 --- a/plugins/deadlock-extension/src/view/briefingView.ts +++ b/plugins/deadlock-extension/src/view/briefingView.ts @@ -93,7 +93,11 @@ export default class BriefingView extends WebviewBase { if (key !== "3000") { pathsLength++; const path = paths[key]; - adresses += `<li>${key} binded on <a href="https://${userConfig.getHost()}/${path}/">${path}</a></li>`; + if (userConfig.getHost() === 'localhost') { + adresses += `<li>${key} binded on <a href="http://${userConfig.getHost()}:${path}">${path}</a></li>`; + } else { + adresses += `<li>${key} binded on <a href="https://${userConfig.getHost()}/${path}/">${path}</a></li>`; + } } }