Browse Source

added setLocale

shian48263 9 years ago
parent
commit
f35030b8df
1 changed files with 1 additions and 0 deletions
  1. 1 0
      routes/index.js

+ 1 - 0
routes/index.js

@@ -4,6 +4,7 @@ var request = require('request');
 var config = require('../config');
 
 router.get('/', function(req, res) {
+  res.setLocale(config.locale);
   res.render('index', { community: config.community,
                         tokenRequired: !!config.inviteToken });
 });