Skip to content
Snippets Groups Projects
Commit e57946c9 authored by Alex's avatar Alex
Browse files

feat: adapt adresses for different env

parent 86e8744a
No related branches found
No related tags found
No related merge requests found
Pipeline #14187 passed
...@@ -93,7 +93,11 @@ export default class BriefingView extends WebviewBase { ...@@ -93,7 +93,11 @@ export default class BriefingView extends WebviewBase {
if (key !== "3000") { if (key !== "3000") {
pathsLength++; pathsLength++;
const path = paths[key]; 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>`;
}
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment