news-analyze/server/api/contentcheck/kidunfriendlycontent.ts
吳元皓 edd8e5b05a Learn some basic algorithms via
https://github.com/trekhleb/javascript-algorithms?tab=readme-ov-file
super cool repo! This algorithm will just run on the client, if it isn't
my server will blow up :( Maybe I will just make a postgres db that
sends the users processing info to save other users processing power?
2025-05-19 13:59:10 +08:00

6 lines
146 B
TypeScript

import sql from "~/server/components/postgres";
export default defineEventHandler(async (event) => {
return {
words: ["violence"],
};
});