feat: move all routes to resources folder

This commit is contained in:
2023-07-27 15:02:23 +02:00
parent e5b12d3476
commit c7b5d3eac3
9 changed files with 0 additions and 0 deletions

View File

@ -1,11 +0,0 @@
import { HandlerContext } from "$fresh/server.ts";
import { getDocuments } from "../../lib/documents.ts";
export const handler = async (
_req: Request,
_ctx: HandlerContext,
): Promise<Response> => {
const documents = await getDocuments();
const response = new Response(JSON.stringify(documents));
return response;
};