feat(frontend): links editor
This commit is contained in:
parent
b0a286dd9f
commit
c6eba5b51a
5 changed files with 141 additions and 12 deletions
|
@ -9,7 +9,7 @@
|
|||
if (raw.startsWith("https://")) out = raw.substring("https://".length);
|
||||
else if (raw.startsWith("http://")) out = raw.substring("http://".length);
|
||||
|
||||
if (raw.endsWith("/")) out = raw.substring(0, raw.length - 1);
|
||||
if (out.endsWith("/")) out = out.substring(0, out.length - 1);
|
||||
|
||||
return out;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue