feat(frontend): links editor

This commit is contained in:
sam 2024-12-09 17:05:43 +01:00
parent b0a286dd9f
commit c6eba5b51a
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
5 changed files with 141 additions and 12 deletions

View file

@ -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;
};