From a7774c26fb1da70666498331cbe48dbd11082330 Mon Sep 17 00:00:00 2001 From: tophf Date: Tue, 13 Mar 2018 17:24:10 +0300 Subject: [PATCH] bump version --- background/update.js | 3 ++- manifest.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/background/update.js b/background/update.js index cd9b77bb..07e6a6a5 100644 --- a/background/update.js +++ b/background/update.js @@ -119,7 +119,8 @@ global API_METHODS if (md5 === style.originalMd5 && style.originalDigest && !ignoreDigest) { return Promise.reject(STATES.SAME_MD5); } - return download(style.updateUrl) + // USO can't handle POST requests for style json + return download(style.updateUrl, {body: null}) .then(text => tryJSONparse(text)); }); } diff --git a/manifest.json b/manifest.json index fe558a45..6d56dd57 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "Stylus", - "version": "1.3.7", + "version": "1.3.8", "minimum_chrome_version": "49", "description": "__MSG_description__", "homepage_url": "https://add0n.com/stylus.html",