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

Commit

Permalink
fix(static): no slash between ref and path in static retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
trieloff committed Apr 25, 2019
1 parent 91de16d commit 209cd7f
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 @@ -417,7 +417,7 @@ sub hlx_type_static_esi {
set req.http.X-Backend-URL =
req.http.X-GitHub-Static-Owner + "/" +
req.http.X-Github-Static-Repo + "/" +
req.http.X-GitHub-Static-Ref + "/" +
req.http.X-GitHub-Static-Ref + // no slash at the end, because the X-Orig-URL starts with one
regsub(req.http.X-Orig-URL, ".esi$", "");
}

Expand Down

0 comments on commit 209cd7f

Please sign in to comment.