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