This commit is contained in:
Christoph Haas 2026-03-21 22:41:23 +01:00
commit f4be03ceba
1826 changed files with 830924 additions and 0 deletions

View file

@ -0,0 +1,8 @@
const postfixRE = /[?#].*$/s;
/**
* @param {string} url
*/
export function cleanUrl(url) {
return url.replace(postfixRE, '');
}