Skip to content

Commit

Permalink
fix: fix rapi key leak
Browse files Browse the repository at this point in the history
  • Loading branch information
justid committed Jan 30, 2023
1 parent 3d1d503 commit 0d491a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ function get_word_anlytic($text)
CURLOPT_POSTFIELDS => "text=".urlencode($text)."&lang=en",
CURLOPT_HTTPHEADER => [
"X-RapidAPI-Host: text-analysis10.p.rapidapi.com",
"X-RapidAPI-Key: a895888271msh523e523a1941d5ap1d422cjsn6e642a197918",
"X-RapidAPI-Key: ".get_theme_mod('rapidapi_translator', ''),
"content-type: application/x-www-form-urlencoded"
],
]);
Expand Down

0 comments on commit 0d491a1

Please sign in to comment.