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`;