salix/print/server.js

20 lines
434 B
JavaScript
Raw Normal View History

2019-01-22 08:55:35 +00:00
module.exports = app => {
global.appPath = __dirname;
process.env.OPENSSL_CONF = '/etc/ssl/';
// Init database instance
2019-10-29 06:46:44 +00:00
require('./core/database').init();
2019-01-22 08:55:35 +00:00
// Init SMTP Instance
2019-10-29 06:46:44 +00:00
require('./core/smtp').init();
2019-01-22 08:55:35 +00:00
2019-10-29 06:46:44 +00:00
require('./core/router')(app);
require('./core/mixins');
require('./core/filters');
require('./core/directives');
// require('./core/components/email-header/email-header');
2019-01-22 08:55:35 +00:00
};