Switch to a different algroithm.

This commit is contained in:
yuanhau 2025-05-21 10:20:33 +08:00
parent 25927ad13c
commit f8879b307c
9 changed files with 72 additions and 16 deletions

View file

@ -17,6 +17,13 @@ export default defineEventHandler(async (event) => {
"裸照",
"性感",
"找妹",
"肉蹼",
"超兇北半球",
"大露",
"色誘",
"死亡",
"撩妹",
"裸上身",
],
};
});

View file

@ -73,7 +73,23 @@ export default defineEventHandler(async (event) => {
if (noDup.includes(key)) {
return;
} else {
noDup.push(key);
noDup.push({
type: "nuuid",
content: key,
});
}
});
const nonUUIDbutValidLinks = data.filter((id) =>
/.*:[a-zA-Z0-9]{24}/g.test(id),
);
nonUUIDbutValidLinks.forEach((key) => {
if (noDup.includes(key)) {
return;
} else {
noDup.push({
type: "vUUID",
content: key,
});
}
});
return {