RubyGems
npm
PyPI
Organizations
Log in
Sign up
npm
chanjs
Versions diffs
1.0.18 → 1.0.20
chanjs 1.0.18 → 1.0.20
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/core.js
+1
-1
package/package.json
+1
-1
package/core/lib/core.js
CHANGED
Viewed
@@ -33,7 +33,7 @@ module.exports = async function (app) {
33
33
34
34
//设置头信息
35
35
app.use((req, res, next) => {
36
-
res.setHeader("
MVC
", "Chanjs");
36
+
res.setHeader("
mvc
", "Chanjs");
37
37
res.setHeader("X-Powered-By", appName);
38
38
res.setHeader(appName, version);
39
39
next();
package/package.json
CHANGED
Viewed
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "chanjs",
3
-
"version": "1.0.
18
",
3
+
"version": "1.0.
20
",
4
4
"description": "Chan.js基于express 纯js研发的轻量级mvc框架。",
5
5
"main": "core/chan.js",
6
6
"module": "core/chan.js",