mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
WIP: Arabic localization.|
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { Router } from 'express';
|
||||
import { Container } from 'typedi';
|
||||
import i18n from 'i18n';
|
||||
|
||||
// Middlewares
|
||||
import JWTAuth from 'api/middleware/jwtAuth';
|
||||
@@ -47,6 +48,7 @@ export default () => {
|
||||
|
||||
// - Global routes.
|
||||
// ---------------------------
|
||||
app.use(i18n.init);
|
||||
app.use(I18nMiddleware);
|
||||
|
||||
app.use('/auth', Container.get(Authentication).router());
|
||||
|
||||
Reference in New Issue
Block a user