This is an automated email from the ASF dual-hosted git repository. guoqi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/apisix-website.git
The following commit(s) were added to refs/heads/master by this push: new d8cc8352c12 Revert "fix: Docusaurus slash with httpd (#1087)" (#1089) d8cc8352c12 is described below commit d8cc8352c12c969974ab5219ef53993a772c2780 Author: Young <isk...@outlook.com> AuthorDate: Thu May 12 16:23:24 2022 +0800 Revert "fix: Docusaurus slash with httpd (#1087)" (#1089) --- .htaccess | 11 +---------- website/docusaurus.config.js | 1 - 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/.htaccess b/.htaccess index 565837f5f06..0418b600dfc 100644 --- a/.htaccess +++ b/.htaccess @@ -26,13 +26,4 @@ ErrorDocument 404 /404.html ExpiresByType application/javascript "access plus 1 hour" ExpiresByType application/json "access plus 1 hour" ExpiresDefault "access plus 10 days" -</IfModule> - -RewriteEngine on - -# Remove trailing slash -RewriteCond %{REQUEST_URI} (.+)/$ -RewriteRule ^(.*)/$ https://apisix.apache.org/$1 [R=301,L] - -# Insensitive case -CheckSpelling on +</IfModule> \ No newline at end of file diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index a4f94918dfa..f4dc6c750c0 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -14,7 +14,6 @@ module.exports = { 'Apache APISIX is a dynamic, real-time, high-performance Cloud-Native API gateway, based on the Nginx library and etcd.', url: 'https://apisix.apache.org', baseUrl: '/', - trailingSlash: false, organizationName: 'Apache', projectName: 'apisix-website', favicon: 'img/favicon.png',