fix: trailing spaces

patch-4
theMiddleBlue 2024-05-06 20:28:36 +02:00
parent 124086fe32
commit dd5224cb5f
1 changed files with 3 additions and 3 deletions

View File

@ -23,14 +23,14 @@ flow: |
if(template.links) {
var path_checked = [];
var paths = [];
for(i=0; i<template.links.length; i++) {
if (target_is_in_scope(template.links[i])) {
var path = template.links[i].replace(template.http_1_host, "");
var path_split = path.split("/");
var path_to_check = "";
for(p in path_split) {
if (path_split[p] != "") {
path_to_check += "/"+path_split[p];