Skip to content

Commit 00b6298

Browse files
committed
fix: 🐛 图片二维码识别删除默认携带的Cookie
1 parent ee0774e commit 00b6298

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

apps/common/qr-code/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# common-qr-code
22

3+
## 1.0.1
4+
5+
### Patch Changes
6+
7+
- 删除 Cookie
8+
39
## 1.0.0
410

511
### Major Changes

apps/common/qr-code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "common-qr-code",
33
"type": "module",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"private": true,
66
"description": "图片二维码识别(Common QR Code)-- 右键图片,识别二维码并复制到剪贴板。",
77
"author": {

apps/common/qr-code/src/utils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export async function decodeQrCode(url: string): Promise<string | undefined> {
2020
GM_xmlhttpRequest({
2121
method: 'GET',
2222
url,
23-
anonymous: true,
2423
responseType: 'blob',
2524
onload: (response) => {
2625
if (response.status !== 200) {

0 commit comments

Comments
 (0)