fix core env not working

Signed-off-by: Alexis Tyler <xo@wvvw.me>
This commit is contained in:
Alexis Tyler
2019-08-10 15:09:44 +09:30
parent bc30c2732d
commit 761d343cc1

View File

@@ -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 () => {