ns-rss-spider 1.1.15 → 1.1.16
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.
- package/dist/cjs/upload/index.js +2 -2
- package/package.json +1 -1
package/dist/cjs/upload/index.js
CHANGED
|
@@ -71,8 +71,8 @@ async function uploadContent({
|
|
|
71
71
|
}).catch((e) => {
|
|
72
72
|
console.error(import_zx.chalk.red("upload oss error"), e);
|
|
73
73
|
});
|
|
74
|
-
if (!res || res.status !== 200) {
|
|
75
|
-
console.error(import_zx.chalk.red("upload status not 200"), res);
|
|
74
|
+
if (!res || res.status !== 200 && res.status !== 201) {
|
|
75
|
+
console.error(import_zx.chalk.red("upload status not 200 or 201"), res);
|
|
76
76
|
continue;
|
|
77
77
|
}
|
|
78
78
|
result.push({
|