aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2024-08-09 10:06:08 -0400
committerlolcat <will@lolcat.ca>2024-08-09 10:06:08 -0400
commit883a650f846af7ac60d358d772aa22cbf89fd807 (patch)
tree3e6e1f78c01860a0a2a6dd7883d494aa1d7f8d44 /api
parentfbac3eeb8dedb961f55983f02d3c3a84ab0e7327 (diff)
implement SSL check for botretards
Diffstat (limited to 'api')
-rw-r--r--api/v1/ac.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/v1/ac.php b/api/v1/ac.php
index 107f5ec..ce9b3f2 100644
--- a/api/v1/ac.php
+++ b/api/v1/ac.php
@@ -19,7 +19,8 @@ class autocomplete{
"marginalia" => "https://search.marginalia.nu/suggest/?partial={searchTerms}",
"yt" => "https://suggestqueries-clients6.youtube.com/complete/search?client=youtube&q={searchTerms}",
"sc" => "",
- "startpage" => "https://www.startpage.com/suggestions?q={searchTerms}&format=opensearch&segment=startpage.defaultffx&lui=english"
+ "startpage" => "https://www.startpage.com/suggestions?q={searchTerms}&format=opensearch&segment=startpage.defaultffx&lui=english",
+ "kagi" => "https://kagi.com/api/autosuggest?q={searchTerms}"
];
/*
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage