hexo-swpp 1.1.2 → 1.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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -122,7 +122,7 @@ const getJsonFromNetwork = async path => {
122
122
  headers: {
123
123
  referer: new URL(url).hostname,
124
124
  'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.62',
125
- 'accept-encoding': ['br', 'deflate']
125
+ 'accept-encoding': 'deflate'
126
126
  }
127
127
  })
128
128
  if (result.status < 200 || result.status >= 400 || !result.data)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-swpp",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.2.0",