This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 495833232 Fix redirect from apidocs/latest
495833232 is described below

commit 495833232c635fec4d6d89426ab86893450123d1
Author: Konrad Windszus <[email protected]>
AuthorDate: Fri Dec 12 18:25:49 2025 +0100

    Fix redirect from apidocs/latest
---
 src/main/jbake/assets/.htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/jbake/assets/.htaccess b/src/main/jbake/assets/.htaccess
index 53e9a5ca3..55d4e3746 100644
--- a/src/main/jbake/assets/.htaccess
+++ b/src/main/jbake/assets/.htaccess
@@ -21,7 +21,7 @@ RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
 AddDefaultCharset utf-8
 
 # Redirect to API docs of latest sling release
-RewriteRule ^/apidocs/latest(/.*)?$ /apidocs/sling13$1 [R=302,L]
+RewriteRule ^apidocs/latest(/.*)?$ /apidocs/sling13$1 [R=302,L]
 
 # Error pages
 ErrorDocument 403 /errors/403.html

Reply via email to