From 54adb4a7fee49d736b98ff1a1c5fc6607ed15bf7 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Sun, 2 Aug 2020 23:34:51 +0200 Subject: [PATCH] Fix bug making package uploads impossible --- registry/src/http/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(