fix(web-search): update chatgpt url

This commit is contained in:
heytulsiprasad 2024-09-10 18:47:29 +05:30
commit abec8f83c8
2 changed files with 9 additions and 9 deletions

View file

@ -50,12 +50,12 @@ Available search contexts are:
| `npmpkg` | `https://www.npmjs.com/search?q=` |
| `packagist` | `https://packagist.org/?query=` |
| `gopkg` | `https://pkg.go.dev/search?m=package&q=` |
| `chatgpt` | `https://chat.openai.com?q=` |
| `chatgpt` | `https://chatgpt.com/?q=` |
Also there are aliases for bang-searching DuckDuckGo:
| Context | Bang |
| --------- | ----- |
| ------- | ---- |
| `wiki` | `!w` |
| `news` | `!n` |
| `map` | `!m` |

View file

@ -31,7 +31,7 @@ function web_search() {
npmpkg "https://www.npmjs.com/search?q="
packagist "https://packagist.org/?query="
gopkg "https://pkg.go.dev/search?m=package&q="
chatgpt "https://chat.openai.com?q="
chatgpt "https://chatgpt.com/?q="
)
# check whether the search engine is supported