mirror of
https://github.com/skidoodle/albert.lol.git
synced 2025-02-15 06:09:15 +01:00
nothing special
This commit is contained in:
parent
4e73740c16
commit
dcdc079715
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
|||
size = Number(size.toFixed(2));
|
||||
let objects = data.Contents!.length
|
||||
res.setHeader('Cache-Control', 'public, s-maxage=10, stale-while-revalidate=59');
|
||||
res.status(200).json(JSON.stringify({
|
||||
res.status(200).json({
|
||||
object: objects,
|
||||
size: size
|
||||
}, null, 2))
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue