prepareOriginURL added. see #524

This commit is contained in:
mic 2026-02-01 22:46:35 +01:00
parent ccdfb39f43
commit 29bdd248b1

View file

@ -499,6 +499,10 @@ export function normalizeStringList(list, returnType = 0) {
}
}
export function prepareOriginURL(url) {
return url.endsWith('/') ? `${url}*` : `${url}/*`;
}
function generateHexColorForTag() {
const red = Math.floor(Math.random() * 256);
const green = Math.floor(Math.random() * 256);