mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
21 lines
No EOL
497 B
JavaScript
21 lines
No EOL
497 B
JavaScript
import {Inject} from 'meteor/meteorhacks:inject-initial';
|
|
|
|
Meteor.startup(function () {
|
|
Events.log({
|
|
name: "firstRun",
|
|
unique: true, // will only get logged a single time
|
|
important: true
|
|
});
|
|
});
|
|
|
|
if (Telescope.settings.get('mailUrl')) {
|
|
process.env.MAIL_URL = Telescope.settings.get('mailUrl');
|
|
}
|
|
|
|
Meteor.startup(function() {
|
|
if (typeof SyncedCron !== "undefined") {
|
|
SyncedCron.start();
|
|
}
|
|
});
|
|
|
|
Inject.obj('serverTimezoneOffset', {offset: new Date().getTimezoneOffset()}); |