Browse Source

Fix core path for production environments

pull/33/head
NGPixel 8 years ago
parent
commit
923ebf80b7
2 changed files with 2 additions and 2 deletions
  1. 2
      agent.js
  2. 2
      server.js

2
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/';
}
// ----------------------------------------

2
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/';
}
// ----------------------------------------

Loading…
Cancel
Save