silverwolf-x's picture
download
raw
250 Bytes
export default (req, res) => {
if (
process.env.CUSTOM_SERVER &&
typeof req.fromCustomServer === 'undefined'
) {
throw new Error('missing custom req field')
}
if (req.method === 'POST') {
res.status(200).json(req.body)
}
}

Xet Storage Details

Size:
250 Bytes
·
Xet hash:
73ba63c7cfe8d9283c1411867790dd87ccc92b05ee90f0eb4e1b873141e00941

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.