Skip to content

Commit

Permalink
Change ML search engine to duckduckgo
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Jeffrey committed Nov 30, 2018
1 parent 097c85e commit a19cd79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports/libmlservo/src/lib.rs
Expand Up @@ -305,7 +305,7 @@ pub unsafe extern "C" fn navigate_servo(servo: *mut ServoInstance, text: *const
.to_str()
.expect("Failed to convert text to UTF-8");
let url = ServoUrl::parse(text).unwrap_or_else(|_| {
let mut search = ServoUrl::parse("http://google.com/search")
let mut search = ServoUrl::parse("https://duckduckgo.com")
.expect("Failed to parse search URL")
.into_url();
search.query_pairs_mut().append_pair("q", text);
Expand Down

0 comments on commit a19cd79

Please sign in to comment.