Skip to content

Commit f255865

Browse files
chore: TCDICORE-151 add missing env variable
1 parent 87fb4d5 commit f255865

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wp-react-lib/src/api/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const API_ROOT = '/wp/wp-json'
1+
const API_ROOT = process.env.VITE_REACT_APP_WP_API || '/wp/wp-json'
22
const URL_MENU = API_ROOT + '/menus/v1/menus/'
33

44
const URL_API_BASE = API_ROOT + '/wp/v2/'

0 commit comments

Comments
 (0)