From a6d96b8c0db1e9f8f6e39a68b3acfd90114d1672 Mon Sep 17 00:00:00 2001 From: Lars Trieloff Date: Thu, 25 Apr 2019 16:26:13 +0000 Subject: [PATCH] fix(static): turn on ESI processing when ESI flag is set --- static.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static.js b/static.js index f6023145..2c9c0b5d 100644 --- a/static.js +++ b/static.js @@ -250,6 +250,7 @@ function deliverPlain(owner, repo, ref, entry, root, esi = false) { headers: addHeaders({ 'Content-Type': type, 'X-Static': 'Raw/Static', + 'X-ESI': esi ? 'enabled' : undefined }, ref, response.body), body, };