Fix bug making package uploads impossible
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Fabian Stamm 2020-08-02 23:34:51 +02:00
parent 2d6c62a791
commit 54adb4a7fe

View File

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