From ce7e864c1d52cd535ec09150603ffc4ccc85e86e Mon Sep 17 00:00:00 2001 From: GotPPay Date: Thu, 2 Aug 2018 14:31:59 +0200 Subject: [PATCH] add missing variable to config --- frontend/src/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/config.js b/frontend/src/config.js index 3bca27e..efbfbe8 100644 --- a/frontend/src/config.js +++ b/frontend/src/config.js @@ -3,5 +3,6 @@ const API_VERSION = 'v2'; const API_SERVER_BASE = process.env.REACT_APP_API_URL; const API_SERVER = API_SERVER_BASE; +const API_SERVER_LOGIN = API_SERVER + "/wp-admin"; -export {API_SERVER_BASE, API_SERVER, APPLICATION_NAME} +export {API_SERVER_BASE, API_SERVER, APPLICATION_NAME, API_SERVER_LOGIN}