Skip to content

Commit

Permalink
Fix #45 (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
cf-pages authored Dec 26, 2022
1 parent 9c3a8e9 commit dc585e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ async function is_url_safe(url){
redirect: 'follow'
};

result = await fetch("https://safebrowsing.googleapis.com/v4/threatMatches:find?key=AIzaSyB9hnLmYPihUefkSl9Mnxui35NDCJVw650", requestOptions)
result = await fetch("https://safebrowsing.googleapis.com/v4/threatMatches:find?key="+config.safe_browsing_api_key, requestOptions)
result = await result.json()
console.log(result)
if (Object.keys(result).length === 0){
Expand Down

0 comments on commit dc585e5

Please sign in to comment.