From 82a25dbd1c2b14a89ca2c3fa7ec8e43e02bd0c82 Mon Sep 17 00:00:00 2001 From: Jan Klare Date: Wed, 11 Mar 2026 20:40:24 +0100 Subject: [PATCH] fix: correct docsRouteBasePath to use relative path instead of full URL The docsRouteBasePath option in @easyops-cn/docusaurus-search-local expects a relative route path (e.g. '/docs'), not a full absolute URL. Passing 'https://osism.tech/docs/' is incorrect per the plugin's documentation and the cause of the search showing a spinning wheel indefinitely with no results. AI-assisted: Claude Code Co-Authored-By: Claude Sonnet 4.6 Signed-off-by: Jan Klare --- docusaurus.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 454d9d0869..17d7b45c3b 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -195,8 +195,8 @@ const config = { // ... Your options. // `hashed` is recommended as long-term-cache of index file is possible. hashed: true, - docsRouteBasePath: 'https://osism.tech/docs/', - // blogRouteBasePath: 'https://osism.tech/blog/', + docsRouteBasePath: '/docs', + // blogRouteBasePath: '/blog', indexPages: false, indexBlog: false, // For Docs using Chinese, The `language` is recommended to set to: