12 lines
447 B
JavaScript
12 lines
447 B
JavaScript
import { Mongo } from 'meteor/mongo';
|
|
import { OHIF } from 'meteor/ohif:core';
|
|
|
|
// CurrentServer is a single document collection to describe which of the Servers is being used
|
|
const CurrentServer = new Mongo.Collection(null);
|
|
CurrentServer._debugName = 'CurrentServer';
|
|
OHIF.servers = OHIF.servers || {};
|
|
OHIF.servers.collections = OHIF.servers.collections || {};
|
|
OHIF.servers.collections.currentServer = CurrentServer;
|
|
|
|
export { CurrentServer };
|