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
@@ -9,7 +9,7 @@ import { df } from "../utils/state.ts";
const TITLE = "Showcase | Fresh";
const DESCRIPTION = "Selection of projects that have been built with Fresh.";
export const handler = df.defineHandlers({
export const handler = df.handlers({
GET(ctx) {
ctx.state.title = TITLE;
ctx.state.description = DESCRIPTION;