Skip to content

Commit 354e014

Browse files
authored
Rollup merge of #92642 - avborhanian:master, r=Dylan-DPC
Update search location from a relative path to absolute This should address issue #90311.
2 parents 770ee32 + f3f6891 commit 354e014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/not_found.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function on_submit(event) {
8484
if (form['from'].value === 'duckduckgo') {
8585
document.location.href = form.action + '?q=' + encodeURIComponent(q + ' site:doc.rust-lang.org');
8686
} else if (form['from'].value === 'library') {
87-
document.location.href = 'std/index.html?search=' + encodeURIComponent(q);
87+
document.location.href = '/std/index.html?search=' + encodeURIComponent(q);
8888
}
8989
}
9090

0 commit comments

Comments
 (0)