From 94ef3a71ee50d0e15cbb14af3c2a2537b4382ffe Mon Sep 17 00:00:00 2001 From: lifegpc Date: Sat, 8 Mar 2025 15:33:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E6=AD=A3=E5=88=99?= =?UTF-8?q?=E8=A1=A8=E8=BE=BE=E5=BC=8F=E4=BB=A5=E5=8C=B9=E9=85=8DSwagger?= =?UTF-8?q?=20UI=E7=89=88=E6=9C=AC=E5=8F=B7=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/download_swagger.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/download_swagger.ts b/scripts/download_swagger.ts index 81c0e14..ee4e7d7 100644 --- a/scripts/download_swagger.ts +++ b/scripts/download_swagger.ts @@ -20,7 +20,7 @@ async function get_download_url() { return `https://github.com/swagger-api/swagger-ui/archive/refs/tags/${version}.zip`; } -const DIST = /swagger-ui-[1-9\.]+\/dist/; +const DIST = /swagger-ui-[0-9\.]+\/dist/; async function unzip(url: string) { const zip_reader = new ZipReader(new HttpReader(url));