Found in Koa documentation the way to set the headers
basically it is using the ctx object and a pretty weird syntax like so
ctx.set('content-type', 'image/jpeg');
Found in Koa documentation the way to set the headers
basically it is using the ctx object and a pretty weird syntax like so
ctx.set('content-type', 'image/jpeg');