fix(envs): incorrect env being used

This commit is contained in:
Alexis Tyler
2020-09-19 11:57:20 +09:30
parent b74b0d0e12
commit 49f4f38324
+2 -2
View File
@@ -22,12 +22,12 @@ export const ONE_MINUTE = 60 * ONE_SECOND;
/**
* Relay ws link.
*/
export const MOTHERSHIP_RELAY_WS_LINK = process.env.RELAY_WS_LINK ? process.env.RELAY_WS_LINK : 'wss://mothership.unraid.net/relay';
export const MOTHERSHIP_RELAY_WS_LINK = process.env.MOTHERSHIP_RELAY_WS_LINK ? process.env.MOTHERSHIP_RELAY_WS_LINK : 'wss://mothership.unraid.net/relay';
/**
* Graphql link.
*/
export const MOTHERSHIP_GRAPHQL_LINK = process.env.RELAY_WS_LINK ? process.env.RELAY_WS_LINK : 'https://mothership.unraid.net/graphql';
export const MOTHERSHIP_GRAPHQL_LINK = process.env.MOTHERSHIP_GRAPHQL_LINK ? process.env.MOTHERSHIP_GRAPHQL_LINK : 'https://mothership.unraid.net/graphql';
/**
* Internal ws link.