From 761d343cc1bb8f66bb7ccb35a0306623bedcbff5 Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Sat, 10 Aug 2019 15:09:44 +0930 Subject: [PATCH] fix core env not working Signed-off-by: Alexis Tyler --- app/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/index.js b/app/index.js index 553c46277..75d9d7f13 100644 --- a/app/index.js +++ b/app/index.js @@ -58,7 +58,7 @@ $injector.registerPath([ ], defaultName => camelcase(defaultName)); // Register core -$injector.registerPath(path.resolve(process.env.CORE_CWD || path.join(__dirname, '../node_modules/@unraid/core'))); +$injector.registerPath(path.resolve(process.env.PATHS_CORE || path.join(__dirname, '../node_modules/@unraid/core'))); // Boot app am(async () => {