mjones129 / mjt-theme

0 stars 0 forks source link

Hide or obscure API key #11

Closed mjones129 closed 3 months ago

mjones129 commented 6 months ago

An API key is required to make requests from the Github API. Find a way to obscure the key while still having access to it.

mjones129 commented 3 months ago

API key is now stored in wp-config as a PHP variable and passed to JS as a global variable using wp_localize_script();