diff --git a/registry/src/http/api.ts b/registry/src/http/api.ts index 36584c9..ed6bfa1 100644 --- a/registry/src/http/api.ts +++ b/registry/src/http/api.ts @@ -10,7 +10,7 @@ import { v4 } from "https://deno.land/std/uuid/mod.ts"; export default function api(g: ABC.Group) { const cacheControl = (next: ABC.HandlerFunc) => (ctx: ABC.Context) => { ctx.response.headers.set("cache-control", "private"); - next(ctx); + return next(ctx); }; g.get(