Allows version-specific forwarding to inherit from master

This commit is contained in:
John Mulhausen 2016-10-10 19:39:22 -07:00
parent 466e65dd56
commit cc2092d2fa
1 changed files with 1 additions and 1 deletions

2
404.md
View File

@ -18,7 +18,7 @@ permalink: /404.html
gonnaFwd = true;
// make it so redirects cascade; first, use the base URL, then append path
baseURL = forwardingURL.replace("/{{ item[0] }}","{{ page.archiveserver }}:{{ item[1].ports[0] | replace:':4000','' }}");
forwardingURL = forwardingURL.replace("/{{ item[0] }}","");
forwardingURL = forwardingURL.replace("/{{ item[0] }}/","");
}{% endfor %}
{% for item in site.data.redirects %}
var redirectVal = {{ item | jsonify }};