RubyGems
npm
PyPI
Organizations
Log in
Sign up
npm
chanjs
Versions diffs
1.0.6 → 1.0.9
chanjs 1.0.6 → 1.0.9
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
package/core/lib/middleware/view.js
+1
-1
package/package.json
+1
-1
package/core/lib/middleware/view.js
CHANGED
Viewed
@@ -3,7 +3,7 @@ module.exports = (app) => {
3
3
const
4
4
{ APP_PATH, views,env } = app.config;
5
5
//默认home view
6
-
const home = path.join(APP_PATH, `modules/
home
/view`);
6
+
const home = path.join(APP_PATH, `modules/
web
/view`);
7
7
//合并插件中的view
8
8
const all = [...views, home];
9
9
package/package.json
CHANGED
Viewed
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "chanjs",
3
-
"version": "1.0.
6
",
3
+
"version": "1.0.
9
",
4
4
"description": "Chanjs develops a lightweight MVC framework based on express pure JavaScript",
5
5
"main": "core/chan.js",
6
6
"module":"core/chan.js",