mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Allows version-specific forwarding to inherit from master
This commit is contained in:
2
404.md
2
404.md
@@ -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 }};
|
||||
|
||||
Reference in New Issue
Block a user