Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Commit

Permalink
fix(static): turn on ESI processing when ESI flag is set
Browse files Browse the repository at this point in the history
  • Loading branch information
trieloff committed Apr 25, 2019
1 parent 6c0d0d5 commit a6d96b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit a6d96b8

Please sign in to comment.