feat: rename helpers to define (#2453)

This commit is contained in:
Luca Casonato
2024-05-24 11:48:32 +02:00
committed by GitHub
parent c57d0ccb2f
commit c9f0ccdce7
9 changed files with 42 additions and 42 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ import { SocialProof } from "../components/homepage/SocialProof.tsx";
import { DenoSection } from "../components/homepage/DenoSection.tsx";
import { df } from "../utils/state.ts";
export const handler = df.defineHandlers({
export const handler = df.handlers({
GET(ctx) {
const { req } = ctx;
const accept = req.headers.get("accept");