feat: list + task endpoints and CORS, verified end-to-end
This commit is contained in:
4
server/api/lists.get.ts
Normal file
4
server/api/lists.get.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// GET /api/lists (web) — all lists.
|
||||
export default defineEventHandler(async () => {
|
||||
return getLists(getSql());
|
||||
});
|
||||
Reference in New Issue
Block a user