feat: add render function (#2454)

This commit is contained in:
Luca Casonato
2024-05-24 18:31:34 +02:00
committed by GitHub
parent 82d027cbcd
commit f2162d24bf
14 changed files with 123 additions and 64 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import { df } from "../../utils/state.ts";
import { define } from "../../utils/state.ts";
export const handler = df.defineMiddleware((ctx) => {
export const handler = define.middleware((ctx) => {
ctx.state.noIndex = true;
return ctx.next();
});