fix(i18n): load locales from file system, instead of http-backend

This commit is contained in:
Amruth Pillai
2022-03-05 10:08:28 +01:00
parent 7c73685759
commit a4983ac6bc
74 changed files with 105 additions and 142 deletions

View File

@ -27,10 +27,12 @@ const bootstrap = async () => {
app.setViewEngine('hbs');
const configService = app.get(ConfigService);
const serverUrl = configService.get<number>('app.serverUrl');
const port = configService.get<number>('app.port');
await app.listen(port);
Logger.log(`🚀 Server is running on: http://localhost:${port}/${globalPrefix}`);
Logger.log(`🚀 Server is running on: ${serverUrl}/${globalPrefix}`);
};
bootstrap();