Update release.ts

This commit is contained in:
2025-05-23 14:12:54 +05:00
committed by GitHub
parent 94fc1a334c
commit b07b3a8306

View File

@@ -141,7 +141,7 @@ serve(async (req) => {
const path = url.pathname;
const token = url.searchParams.get("token");
const releaseMatch = path.match(/^\/api\/release\/([^\/]+)/);
const releaseMatch = path.match(/^\/api\/v2\/release\/([^\/]+)/);
if (releaseMatch) {
const releaseId = releaseMatch[1];
const result = await getReleaseFromAnixart(releaseId, token);