mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
fix: proper fallback if missing paths config modules
This commit is contained in:
@@ -94,4 +94,5 @@ export const MOTHERSHIP_GRAPHQL_LINK = process.env.MOTHERSHIP_GRAPHQL_LINK
|
||||
: 'https://mothership.unraid.net/ws';
|
||||
|
||||
export const PM2_HOME = process.env.PM2_HOME ?? join(homedir(), '.pm2');
|
||||
export const PATHS_CONFIG_MODULES = process.env.PATHS_CONFIG_MODULES!;
|
||||
export const PATHS_CONFIG_MODULES =
|
||||
process.env.PATHS_CONFIG_MODULES ?? '/usr/local/unraid-api/config/modules';
|
||||
|
||||
Reference in New Issue
Block a user