fix(media proxy): fix 304 response code with body error
was accidently sending a 304 with body. introduced in c53c88d
This commit is contained in:
parent
736d680243
commit
c610ef4d1b
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
|||
|
||||
if (cachedMedia) {
|
||||
res.setHeader('x-cached', 'true');
|
||||
res.status(304).send(cachedMedia);
|
||||
res.send(cachedMedia);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue