Skip to content

Commit

Permalink
Update constants.js
Browse files Browse the repository at this point in the history
  • Loading branch information
officiallygod committed Oct 8, 2024
1 parent 50f0a5c commit 47c41ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/constants.js
Original file line number Diff line number Diff line change
@@ -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`;

Check failure on line 3 in src/constants.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

'dataRestRoute' is not defined

0 comments on commit 47c41ae

Please sign in to comment.