Fix bad stream url redirect. (#1524)
This commit is contained in:
parent
c46184e6b3
commit
8dd0982f33
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ router.get(`/$/download/:claimName/:claimId`, async (ctx) => {
|
|||
});
|
||||
|
||||
router.get(`/$/stream/:claimName/:claimId`, async (ctx) => {
|
||||
const streamUrl = getStreamUrl(ctx);
|
||||
const streamUrl = await getStreamUrl(ctx);
|
||||
ctx.redirect(streamUrl);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue