|
@@ -7,16 +7,14 @@ var logHelper = require("./helper/LjLogHelper.js");
|
|
//根据不同的功能划分模块
|
|
//根据不同的功能划分模块
|
|
app.use('/lesson', require('./router/lesson'))
|
|
app.use('/lesson', require('./router/lesson'))
|
|
app.get('/', function (req, res) {
|
|
app.get('/', function (req, res) {
|
|
- //res.render('index.html');
|
|
|
|
- console.info(__dirname+'/index.html');
|
|
|
|
res.sendFile(__dirname+'/index.html',
|
|
res.sendFile(__dirname+'/index.html',
|
|
{
|
|
{
|
|
- "image":"222"
|
|
|
|
|
|
+ "image":"222",
|
|
});
|
|
});
|
|
})
|
|
})
|
|
|
|
|
|
//启动监听
|
|
//启动监听
|
|
-app.listen(9191, function ()
|
|
|
|
|
|
+app.listen(8089, function ()
|
|
{
|
|
{
|
|
logHelper.info("winBoxNode starting success");
|
|
logHelper.info("winBoxNode starting success");
|
|
});
|
|
});
|