ohif-viewer/Packages/worklist/server/validateServerConfiguration.js
2016-09-22 10:45:07 -04:00

17 lines
499 B
JavaScript

import { Meteor } from 'meteor/meteor';
import { check } from 'meteor/check';
import { ServerConfiguration } from '../both/schema.js';
/*
-- Taking this out for now to prevent confusion.
TODO: Make the error messages more clear
Meteor.startup(() => {
console.log('------ Testing Meteor Settings ------');
let config = ServerConfiguration.clean(Meteor.settings);
console.log(JSON.stringify(config, null, 2));
Meteor.settings = config;
check(config, ServerConfiguration);
});*/