diff --git a/packages/lambda/src/lambda.ts b/packages/lambda/src/lambda.ts index bef9d81cd..ffd19f0ec 100644 --- a/packages/lambda/src/lambda.ts +++ b/packages/lambda/src/lambda.ts @@ -62,6 +62,7 @@ export class LambdaFunction { // Unhandled exception was thrown ctx.set('err', error); res = new LambdaHttpResponse(500, 'Internal Server Error'); + res.header(HttpHeader.CacheControl, 'no-store'); } }