Skip to content

Commit 0049143

Browse files
Merge pull request #37293 from vikram-redhat/main
Fixes some OKD issues
2 parents d895846 + 8816812 commit 0049143

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.s2i/httpd-cfg/01-community.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ AddType text/vtt vtt
129129
RewriteRule ^latest/minishift/?(.*)$ /3.11/minishift/$1 [NE,R=301]
130130

131131
# Redirects for "latest" version
132-
RewriteRule ^(origin-m4|4)/?(.*)$ /latest/$2 [R=301]
132+
RewriteRule ^(origin-m4)/?(.*)$ /latest/$2 [R=301]
133133

134134
# Welcome page redirects
135135
RewriteRule ^(latest|[0-9.]+)/?$ /$1/welcome/index.html [L,R=301]

_templates/_page_openshift.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
</div>
142142
<% end %>
143143
<%
144-
if (unsupported_versions.include? version)
144+
if ((unsupported_versions.include? version) && (distro_key == "openshift-enterprise"))
145145
%>
146146
<font size="+1" color="red">You are viewing documentation for a release that is no longer supported. The latest supported version of version 3 is <a href="https://docs.openshift.com/container-platform/3.11/welcome/index.html">[3.11]</a>. For the most recent version 4, see <a href="https://docs.openshift.com/container-platform/latest/welcome/index.html">[4]</a></font>
147147
<div id="annoying-box"

0 commit comments

Comments
 (0)