Fix core path for production environments
This commit is contained in:
2
agent.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/';
|
||||
}
|
||||
|
||||
// ----------------------------------------
|
||||
|
@@ -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/';
|
||||
}
|
||||
|
||||
// ----------------------------------------
|
||||
|
Reference in New Issue
Block a user