This commit is contained in:
Timothy J. Baek committed 2024-05-27 12:48:08 -07:00
1 parent 73178cf519
commit 4685f523b6
7 files changed
+45 -38

No files matched your search

+2 -2
View File
@@ -642,8 +642,8 @@ def resolve_hostname(hostname):
return ipv4_addresses, ipv6_addresses
@app.post("/websearch")
def store_websearch(form_data: SearchForm, user=Depends(get_current_user)):
@app.post("/web/search")
def store_web_search(form_data: SearchForm, user=Depends(get_current_user)):
try:
try:
web_results = search_web(form_data.query)