2016-08-09 15:53:09 +02:00
|
|
|
import { Meteor } from 'meteor/meteor';
|
|
|
|
|
import { check } from 'meteor/check';
|
|
|
|
|
import { ServerConfiguration } from '../both/schema.js';
|
|
|
|
|
|
2016-09-22 16:45:07 +02:00
|
|
|
/*
|
|
|
|
|
-- Taking this out for now to prevent confusion.
|
|
|
|
|
|
|
|
|
|
TODO: Make the error messages more clear
|
2016-08-09 15:53:09 +02:00
|
|
|
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);
|
2016-09-22 16:45:07 +02:00
|
|
|
});*/
|