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

Commit

Permalink
fix(static): add missing slash to GitHub raw URL
Browse files Browse the repository at this point in the history
  • Loading branch information
trieloff committed Apr 25, 2019
1 parent 209cd7f commit c07f401
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 @@ -414,7 +414,7 @@ sub hlx_type_static_esi {
call hlx_github_static_root;

// https://raw.githubusercontent.com/trieloff/helix-demo/master/htdocs/index.js
set req.http.X-Backend-URL =
set req.http.X-Backend-URL = "/" +
req.http.X-GitHub-Static-Owner + "/" +
req.http.X-Github-Static-Repo + "/" +
req.http.X-GitHub-Static-Ref + // no slash at the end, because the X-Orig-URL starts with one
Expand Down

0 comments on commit c07f401

Please sign in to comment.