From 58c8d21348c5f787df98aee24db3d24873f0e9b0 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 7 Apr 2023 12:01:52 +0900 Subject: [PATCH 1/2] 13.11.0-beta.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 012d8eb59c..7c08b0c1b9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "misskey", - "version": "13.11.0-beta.4", + "version": "13.11.0-beta.5", "codename": "nasubi", "repository": { "type": "git", From 69828e8dac5b18ab2af6cc13a46f48255e9de789 Mon Sep 17 00:00:00 2001 From: okayurisotto Date: Fri, 7 Apr 2023 15:48:49 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix(sw):=20=E3=83=97=E3=83=83=E3=82=B7?= =?UTF-8?q?=E3=83=A5=E9=80=9A=E7=9F=A5=E3=81=AE=E6=93=8D=E4=BD=9C=E3=81=A7?= =?UTF-8?q?Zen=20UI=E3=81=AA=E3=82=AF=E3=83=A9=E3=82=A4=E3=82=A2=E3=83=B3?= =?UTF-8?q?=E3=83=88=E3=81=8C=E9=96=8B=E3=81=8B=E3=82=8C=E3=81=A6=E3=81=97?= =?UTF-8?q?=E3=81=BE=E3=81=86=E5=A0=B4=E5=90=88=E3=81=8C=E3=81=82=E3=82=8B?= =?UTF-8?q?=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3=20(#10497)=20(#10?= =?UTF-8?q?498)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/sw/src/scripts/operations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sw/src/scripts/operations.ts b/packages/sw/src/scripts/operations.ts index 8936a7763a..02217ed74e 100644 --- a/packages/sw/src/scripts/operations.ts +++ b/packages/sw/src/scripts/operations.ts @@ -59,7 +59,7 @@ export async function findClient() { type: 'window', }); for (const c of clients) { - if (c.url.indexOf('?zen') < 0) return c; + if (!new URL(c.url).searchParams.has('zen')) return c; } return null; }