Fix bug making package uploads impossible
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2d6c62a791
commit
54adb4a7fe
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user