|
@@ -1,18 +1,18 @@
|
1
|
|
-var pug = require('pug');
|
2
|
|
-var nodemailer = require('nodemailer');
|
3
|
|
-var crypto = require('crypto');
|
4
|
|
-var fs = require('fs');
|
5
|
|
-var settings = require('./settings');
|
|
1
|
+var pug = require('pug');
|
|
2
|
+var nodemailer = require('nodemailer');
|
|
3
|
+var crypto = require('crypto');
|
|
4
|
+var fs = require('fs');
|
|
5
|
+var settings = require('./settings');
|
6
|
6
|
|
7
|
7
|
// Translation
|
8
|
|
-var locale = require('./locales/' + settings.language);
|
9
|
|
-var lang = locale.server;
|
|
8
|
+var locale = require('./locales/' + settings.language);
|
|
9
|
+var lang = locale.server;
|
10
|
10
|
|
11
|
11
|
// Web server
|
12
|
|
-var bodyParser = require('body-parser');
|
13
|
|
-var cors = require('cors');
|
14
|
|
-var express = require('express');
|
15
|
|
-var app = express();
|
|
12
|
+var bodyParser = require('body-parser');
|
|
13
|
+var cors = require('cors');
|
|
14
|
+var express = require('express');
|
|
15
|
+var app = express();
|
16
|
16
|
|
17
|
17
|
// Logging
|
18
|
18
|
var printit = require('printit');
|