Skip to content

Commit

Permalink
Update packages/faustwp-cli/src/healthCheck/validateFaustEnvVars.ts
Browse files Browse the repository at this point in the history
Co-authored-by: John Parris <[email protected]>
  • Loading branch information
TeresaGobble and mindctrl authored Feb 15, 2024
1 parent d5adc5b commit 3e70aea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const validateFaustEnvVars = async () => {
}
if (getWpSecret()) {
// send secret key
const apiUrl = `${getWpUrl()}/wp-json/faustwp/v1/validate_secret_key`;
const apiUrl = `${getWpUrl()}/?rest_route=/faustwp/v1/validate_secret_key`;
const headers = {
'x-faustwp-secret': getWpSecret(),
};
Expand Down

0 comments on commit 3e70aea

Please sign in to comment.