...
|
...
|
@@ -12,7 +12,7 @@ var express = require('express'), |
|
|
var app = express();
|
|
|
|
|
|
// set view engin
|
|
|
var doraemon = path.join(__dirname, '../../doraemon/views'); //parent view root
|
|
|
var doraemon = path.join(__dirname, '../../doraemon/views'); // parent view root
|
|
|
|
|
|
app.on('mount', function(parent) {
|
|
|
delete parent.locals.settings; // 不继承父 App 的设置
|
...
|
...
|
|