mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 21:14:23 +00:00
9 lines
264 B
TypeScript
9 lines
264 B
TypeScript
// This should be hooked up to a database soon.
|
|
import postgres from "~/server/components/postgres";
|
|
export default defineEventHandler(async (event) => {
|
|
const loginCookie = getCookie(event, "session");
|
|
return {
|
|
auth: "true",
|
|
user: "testing",
|
|
};
|
|
});
|