Browse Source

Refactoring

pull/1439/head
Thomas 3 years ago
parent
commit
ab2063dbc5
  1. 6
      apps/api/src/app/frontend.middleware.ts

6
apps/api/src/app/frontend.middleware.ts

@ -131,12 +131,12 @@ export class FrontendMiddleware implements NestMiddleware {
rootUrl: this.configurationService.get('ROOT_URL')
})
);
} else if (req.path === '/pt' || req.path.startsWith('/pt/')) {
res.send(
} else if (request.path === '/pt' || request.path.startsWith('/pt/')) {
response.send(
this.interpolate(this.indexHtmlPt, {
featureGraphicPath,
languageCode: 'pt',
path: req.path,
path: request.path,
rootUrl: this.configurationService.get('ROOT_URL')
})
);

Loading…
Cancel
Save