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
@ -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…
x
Reference in New Issue
Block a user