projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
18881: Fixes the Failing state's color, from red to orange.
[arvados-workbench2.git]
/
src
/
common
/
url.ts
diff --git
a/src/common/url.ts
b/src/common/url.ts
index 6d66778ad3a681bb05598aba7484b49bbb7e8007..db12cb8ea8805a86c14e057e957e3d513cc00acc 100644
(file)
--- a/
src/common/url.ts
+++ b/
src/common/url.ts
@@
-13,7
+13,7
@@
export function normalizeURLPath(url: string) {
const u = new URL(url);
u.pathname = u.pathname.replace(/\/\//, '/');
if (u.pathname[u.pathname.length - 1] === '/') {
const u = new URL(url);
u.pathname = u.pathname.replace(/\/\//, '/');
if (u.pathname[u.pathname.length - 1] === '/') {
- u.pathname = u.pathname.substr(0, u.pathname.length - 1);
+ u.pathname = u.pathname.substr
ing
(0, u.pathname.length - 1);
}
return u.toString();
}
}
return u.toString();
}