You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ja...@apache.org on 2022/05/11 23:10:30 UTC
[solr] branch branch_9_0 updated: Make 'latest' remain in URL instead of `9_0` (#846)
This is an automated email from the ASF dual-hosted git repository.
janhoy pushed a commit to branch branch_9_0
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9_0 by this push:
new a464f05ccd2 Make 'latest' remain in URL instead of `9_0` (#846)
a464f05ccd2 is described below
commit a464f05ccd2e88e7060708c31e6ce18fc72afbff
Author: Jan Høydahl <ja...@users.noreply.github.com>
AuthorDate: Thu May 12 01:00:54 2022 +0200
Make 'latest' remain in URL instead of `9_0` (#846)
(cherry picked from commit 4896773a540200b44f53385ba3cff8fbb2c60a03)
---
solr/solr-ref-guide/playbook.template.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/solr/solr-ref-guide/playbook.template.yml b/solr/solr-ref-guide/playbook.template.yml
index a9f3845db86..589bc219f70 100644
--- a/solr/solr-ref-guide/playbook.template.yml
+++ b/solr/solr-ref-guide/playbook.template.yml
@@ -21,7 +21,7 @@ urls:
latest_version_segment: latest
# This does not work unless the redirect_facility below is set to
# something other than the default 'static'
- latest_version_segment_strategy: redirect:from
+ latest_version_segment_strategy: redirect:to
# If this is set to 'httpd', antora will create a .htaccess file with all redirects, including 'latest'.
# Default is 'static' which produces index.html at the root.
# See https://docs.antora.org/antora/latest/playbook/urls-redirect-facility/