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 variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
trieloff committed Apr 18, 2019
1 parent 76749d6 commit cbb125e
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 @@ -556,7 +556,7 @@ sub hlx_deliver_static {
set req.http.X-Request-Type = "Static";
}
restart;
} elsif (req.X-Request-Type == "Static-ESI") {
} elsif (req.http.X-Request-Type == "Static-ESI") {
# Get the ETag response header and use it to construct a stable URL
synthetic regsub(req.http.X-Orig-URL, ".esi$", ".hlx_" + digest.hash_sha1(resp.http.ETag));
return(deliver);
Expand Down

0 comments on commit cbb125e

Please sign in to comment.