Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 383b0e3

Browse files
authored
Merge pull request #47 from readthedocs/use-proxied-api
Use proxied api for search
2 parents 3c0ab7e + 17b5941 commit 383b0e3

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

scripts/setup_chromedriver.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
wget -N https://chromedriver.storage.googleapis.com/77.0.3865.40/chromedriver_linux64.zip -P ~/
1+
wget -N https://chromedriver.storage.googleapis.com/81.0.4044.69/chromedriver_linux64.zip -P ~/
22
unzip ~/chromedriver_linux64.zip -d ~/
33
rm ~/chromedriver_linux64.zip
44
sudo mv -f ~/chromedriver /usr/local/bin/

sphinx_search/static/js/rtd_sphinx_search.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ window.addEventListener("DOMContentLoaded", evt => {
640640
const project = READTHEDOCS_DATA.project;
641641
const version = READTHEDOCS_DATA.version;
642642
const language = READTHEDOCS_DATA.language || "en";
643-
const api_host = READTHEDOCS_DATA.api_host;
643+
const api_host = '/_';
644644

645645
let initialHtml = generateAndReturnInitialHtml();
646646
document.body.innerHTML += initialHtml;

sphinx_search/static/js/rtd_sphinx_search.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)