fix: change MultiHandler back to Handlers (#1396)

This commit is contained in:
Marvin Hagemeister
2023-07-03 09:57:46 +02:00
committed by GitHub
parent eb53d53ab8
commit 16be99e69b
32 changed files with 135 additions and 66 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { MultiHandler } from "$fresh/server.ts";
import { Handlers } from "$fresh/server.ts";
import { gfm } from "../utils/markdown.ts";
// TODO(lucacasonato): hash the file and use the hash as the filename, and serve
@@ -36,7 +36,7 @@ ol.nested li:before {
}
`;
export const handler: MultiHandler = {
export const handler: Handlers = {
GET: () => {
return new Response(CSS, {
headers: {