Add getUserTokenMinusSQLInjection to prevent SQL Injection in via the
Some checks are pending
Build and Push Docker Image / build-and-push (push) Waiting to run

cookies (that may be not possible, but it is a safety guard I want to
add. (Chat: https://t3.chat/chat/c1883e6a-6c38-4af3-9818-0e927449c61c)
This commit is contained in:
yuanhau 2025-06-10 09:39:11 +08:00
parent bd3a81dfbc
commit 2895263e52
10 changed files with 90 additions and 54 deletions

View file

@ -168,9 +168,11 @@ const jaccardSimilarity = (v1: any, v2: any) => {
return intersection.size / union.size;
};
const findRel = async (title: string) => {
/*
const findRel =
async (title: string) => {
const req = await fetch("/api/sort");
};
};*/
// Check words
const checkIfEmptyArray = [];