mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-29 11:32:15 -05:00
fe785749e8
cleanup
12 lines
252 B
JavaScript
12 lines
252 B
JavaScript
const send = require('send')
|
|
const reporter = require('@packages/reporter/lib/resolve-dist')
|
|
|
|
module.exports = {
|
|
handle (req, res) {
|
|
const pathToFile = reporter.getPathToDist(req.params[0])
|
|
|
|
return send(req, pathToFile)
|
|
.pipe(res)
|
|
},
|
|
}
|