Use https to connect to algolia
This commit is contained in:
parent
b400e2d1c4
commit
e6c640774f
@ -25,5 +25,5 @@
|
||||
"default_icon": "icons/icon48.png",
|
||||
"default_title": "Looped In"
|
||||
},
|
||||
"content_security_policy": "script-src 'self'; object-src 'self'; connect-src 'self' http://hn.algolia.com"
|
||||
"content_security_policy": "script-src 'self'; object-src 'self'; connect-src 'self' https://hn.algolia.com"
|
||||
}
|
||||
|
@ -9,7 +9,7 @@
|
||||
"Fetches submissions from Hacker News by `url`"
|
||||
[url]
|
||||
(let [response-chan (chan)]
|
||||
(GET "http://hn.algolia.com/api/v1/search"
|
||||
(GET "https://hn.algolia.com/api/v1/search"
|
||||
{:params {"query" url
|
||||
"hitsPerPage" 1000
|
||||
"restrictSearchableAttributes" "url"}
|
||||
|
Loading…
Reference in New Issue
Block a user