Skip to content

Commit f3f6891

Browse files
authored
Update location from a relative path to absolute
1 parent e012a19 commit f3f6891

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)