mirror of
https://github.com/koush/scrypted.git
synced 2026-03-03 17:52:02 +00:00
server: fixup address, make it available on cluster manager
This commit is contained in:
@@ -15,6 +15,10 @@ export class ClusterManagerImpl implements ClusterManager {
|
||||
return this.clusterWorkerId;
|
||||
}
|
||||
|
||||
getClusterAddress(): string {
|
||||
return process.env.SCRYPTED_CLUSTER_ADDRESS;
|
||||
}
|
||||
|
||||
getClusterMode(): 'server' | 'client' | undefined {
|
||||
return this.clusterMode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user