mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
fix hot bugs.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user