diff --git a/packages/faustwp-cli/src/healthCheck/validateFaustEnvVars.ts b/packages/faustwp-cli/src/healthCheck/validateFaustEnvVars.ts index 0f5ecf89d..7ed46ba14 100644 --- a/packages/faustwp-cli/src/healthCheck/validateFaustEnvVars.ts +++ b/packages/faustwp-cli/src/healthCheck/validateFaustEnvVars.ts @@ -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(), };