silverwolf-x's picture
download
raw
228 Bytes
import fetch from 'node-fetch'
export default async (req, res) => {
const dataRes = await fetch(
`http://localhost:${req.query.port}/api/query?hello=from-pipe`
)
res.status(dataRes.status)
dataRes.body.pipe(res)
}

Xet Storage Details

Size:
228 Bytes
·
Xet hash:
ddf8acf923284fd7aabf226abd81fb96a9380b65ba52c2afc2f43a80f61afb35

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