cgserver 10.1.2 → 10.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -123,10 +123,6 @@ class Request {
123
123
  return this._req.cookies[cookie_key];
124
124
  }
125
125
  _init() {
126
- let method = this._req.method.toLowerCase();
127
- if (method != "get" && method != "post") {
128
- return;
129
- }
130
126
  let path = this._req.url;
131
127
  //服务器根目录路径写法,链接转换
132
128
  let _i = path.lastIndexOf("~");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cgserver",
3
- "version": "10.1.2",
3
+ "version": "10.1.3",
4
4
  "author": "trojan",
5
5
  "type": "commonjs",
6
6
  "description": "free for all.Websocket or Http",