Skip to content

Commit e60baa6

Browse files
authored
Merge pull request #282 from yel-hadd/master
Update search API base URL in DrawerSearch component
2 parents 1e26e32 + e77d77f commit e60baa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/.vuepress/theme/drawer/DrawerSearch.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function parseDocs(api_response) {
130130
}
131131
132132
async function queryGlobalSearch(query, n_results=10) {
133-
const baseUrl = 'https://global-search.cl-edu.com/search';
133+
const baseUrl = 'https://search.cl-edu.com/api/search';
134134
let urlEncodedQuery = encodeURIComponent(query);
135135
let url = `${baseUrl}?query=${urlEncodedQuery}&collections=cloudlinux_docs&n_results=${n_results}&source=cloudlinux_docs`;
136136
try {

0 commit comments

Comments
 (0)