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

fix: broken redirection for web resources, ignore port 3000 on list

parent 0a7f1b9b
Branches
Tags
No related merge requests found
...@@ -69,9 +69,11 @@ export default class BriefingView extends View { ...@@ -69,9 +69,11 @@ export default class BriefingView extends View {
let pathsLength = 0; let pathsLength = 0;
for (const key in this.userChallengeConfig?.paths) { for (const key in this.userChallengeConfig?.paths) {
if (key !== '3000') {
pathsLength++; pathsLength++;
const path = this.userChallengeConfig?.paths[key]; const path = this.userChallengeConfig?.paths[key];
adresses += `<li>${key} binded on <a href="https://${this.userChallengeConfig?.host}/${path}">${path}</a></li>`; adresses += `<li>${key} binded on <a href="https://${this.userChallengeConfig?.host}/${path}">${path}/</a></li>`;
}
} }
if (pathsLength > 0) { if (pathsLength > 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment