fix hot bugs.

This commit is contained in:
Ahmed Bouhuolia
2020-04-26 03:09:33 +02:00
parent d14ff872d4
commit e01ad95ac3
31 changed files with 251 additions and 350 deletions

View File

@@ -12,13 +12,13 @@ global.rootPath = rootPath.path;
const app = express();
i18n.configure({
locales: ['en'],
directory: `${__dirname}/resources/locale`,
});
// i18n.configure({
// locales: ['en'],
// directory: `${__dirname}/resources/locale`,
// });
// i18n init parses req for language headers, cookies, etc.
app.use(i18n.init);
// // i18n init parses req for language headers, cookies, etc.
// app.use(i18n.init);
// Express configuration
app.set('port', process.env.PORT || 3000);