Spaces:
Paused
Paused
Download server.js from Wizdon/WizdonBot2: direct link, hf CLI and curl.
- Browser
- Download file 238 Bytes
-
https://huggingface.co/spaces/Wizdon/WizdonBot2/resolve/main/server.js
- Command line
-
hf download hf://spaces/Wizdon/WizdonBot2/server.js
-
curl -L -o server.js https://huggingface.co/spaces/Wizdon/WizdonBot2/resolve/main/server.js
238 Bytes
| const http = require('http'); | |
| http.createServer((req, res) => { | |
| res.writeHead(200, {'Content-Type': 'text/html'}); | |
| res.end('<html><body>Lyfe</body></html>'); | |
| }).listen(7860, () => { | |
| console.log('Server listening on port 7860'); | |
| }); |