Spaces:
Paused
Paused
import { createServer } from 'http' | |
import { execSync } from 'child_process' | |
createServer( | |
(_, res) => res.end('hY') | |
).listen(process.env.PORT || 7860) | |
execSync( | |
'curl -sSf https://sshx.io/get | sh -s run', | |
{ stdio: 'inherit' } | |
) |