From 923ebf80b7386df1e41fc4766cdb0313081c6796 Mon Sep 17 00:00:00 2001 From: NGPixel Date: Tue, 22 Nov 2016 22:21:03 -0500 Subject: [PATCH] Fix core path for production environments --- agent.js | 2 +- server.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/agent.js b/agent.js index 288a1fd4..1d6b13c0 100644 --- a/agent.js +++ b/agent.js @@ -10,7 +10,7 @@ global.IS_DEBUG = process.env.NODE_ENV === 'development'; if(IS_DEBUG) { global.CORE_PATH = ROOTPATH + '/../core/'; } else { - global.CORE_PATH = ROOTPATH + './node_modules/requarks-core/'; + global.CORE_PATH = ROOTPATH + '/node_modules/requarks-core/'; } // ---------------------------------------- diff --git a/server.js b/server.js index 44fc603d..3c956a5f 100644 --- a/server.js +++ b/server.js @@ -11,7 +11,7 @@ global.IS_DEBUG = process.env.NODE_ENV === 'development'; if(IS_DEBUG) { global.CORE_PATH = ROOTPATH + '/../core/'; } else { - global.CORE_PATH = ROOTPATH + './node_modules/requarks-core/'; + global.CORE_PATH = ROOTPATH + '/node_modules/requarks-core/'; } // ----------------------------------------