From 47c41ae095c2ca8ee9c380280b7e711a71e2cd8c Mon Sep 17 00:00:00 2001 From: Allen Benny Date: Tue, 8 Oct 2024 17:09:52 +0530 Subject: [PATCH] Update constants.js --- src/constants.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/constants.js b/src/constants.js index 37bc513..ae1aa64 100644 --- a/src/constants.js +++ b/src/constants.js @@ -1,3 +1,3 @@ export const wpRestURL = window.nfdInstallerDataAttrListener?.restUrl; -export const dataRestRoute = 'newfold-installer/v1'; -export const installerAPI = `${ wpRestURL }/${ dataRestRoute }/install`; +export const installerRestRoute = 'newfold-installer/v1'; +export const installerAPI = `${ wpRestURL }/${ dataRestRoute }/plugins/install`;