mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
redis - added mget and multi, finished initial topics listview on home page, finished get topics method calls
This commit is contained in:
@@ -40,11 +40,11 @@ var express = require('express'),
|
||||
// app.use(express.methodOverride());
|
||||
|
||||
app.get('/', function(req, res) {
|
||||
//global.modules.topics.get(function() {
|
||||
// res.send(templates['header'] + templates['home'] + templates['footer']);
|
||||
//})
|
||||
global.modules.topics.generate_forum_body(function(forum_body) {
|
||||
res.send(templates['header'] + forum_body + templates['footer']);
|
||||
})
|
||||
|
||||
res.send(templates['header'] + templates['home'] + templates['footer']);
|
||||
//res.send(templates['header'] + templates['home'] + templates['footer']);
|
||||
});
|
||||
|
||||
app.get('/login', function(req, res) {
|
||||
|
||||
Reference in New Issue
Block a user