feat: initial refactor to use marka as backend
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
import { Handlers } from "$fresh/server.ts";
|
||||
import { getDocuments } from "@lib/documents.ts";
|
||||
import { json } from "@lib/helpers.ts";
|
||||
|
||||
export const handler: Handlers = {
|
||||
async GET() {
|
||||
const documents = await getDocuments();
|
||||
return json(documents);
|
||||
return json([]);
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user