Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

Commit

Permalink
fix(static): fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
trieloff committed Apr 25, 2019
1 parent ffd6403 commit 82949b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/fastly/helix.vcl
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ sub hlx_fetch_static {

sub hlx_deliver_static {
set resp.http.X-Static-Trace = req.http.X-Trace + "; hlx_deliver_static";
set resp.http.X-Static-Trace = set resp.http.X-Static-Trace + "[type=" + req.http.X-Request-Type + ", status=" + resp.status + "]";
set resp.http.X-Static-Trace = resp.http.X-Static-Trace + "[type=" + req.http.X-Request-Type + ", status=" + resp.status + "]";
if (req.http.X-Request-Type == "Static-ESI" && resp.status == 200) {
set resp.http.X-Trace = resp.http.X-Trace + "(esi)";
# Get the ETag response header and use it to construct a stable URL
Expand Down

0 comments on commit 82949b0

Please sign in to comment.