From 3e70aeae3dfb6f19900f400c4bef46e5cd3bdac1 Mon Sep 17 00:00:00 2001 From: Teresa Gobble Date: Thu, 15 Feb 2024 11:49:30 -0600 Subject: [PATCH] Update packages/faustwp-cli/src/healthCheck/validateFaustEnvVars.ts Co-authored-by: John Parris --- packages/faustwp-cli/src/healthCheck/validateFaustEnvVars.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(), };