From c07f4012517332d9bcdb814d54195111ec8cf7a1 Mon Sep 17 00:00:00 2001 From: Lars Trieloff Date: Thu, 25 Apr 2019 10:03:10 +0000 Subject: [PATCH] fix(static): add missing slash to GitHub raw URL --- layouts/fastly/helix.vcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/fastly/helix.vcl b/layouts/fastly/helix.vcl index 875f1343..96630dc9 100644 --- a/layouts/fastly/helix.vcl +++ b/layouts/fastly/helix.vcl @@ -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