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