fd3256f47e
Co-authored-by: JJ Kasper <jj@jjsweb.site>
8 lines
158 B
JavaScript
8 lines
158 B
JavaScript
import { execSync } from 'child_process'
|
|
|
|
export default (req, res) => {
|
|
const output = execSync('echo hi')
|
|
.toString()
|
|
.trim()
|
|
res.end(output)
|
|
}
|