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

Commit

Permalink
fix(vcl): fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
trieloff committed May 29, 2019
1 parent bf8cbae commit b0b9829
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 @@ -658,7 +658,7 @@ sub hlx_fetch_error {
}

if (req.url.basename ~ "^([0-9][0-9][0-9])") {
set resp.status = re.group.1;
set resp.status = std.atoi(re.group.1);
} else {
# this should never happen
set resp.status = 500;
Expand Down

0 comments on commit b0b9829

Please sign in to comment.