Spaces:
Sleeping
Sleeping
Download server.js from carpool-team/Carpool: direct link, hf CLI and curl.
- Browser
- Download file 312 Bytes
-
https://huggingface.co/spaces/carpool-team/Carpool/resolve/main/server.js
- Command line
-
hf download hf://spaces/carpool-team/Carpool/server.js
-
curl -L -o server.js https://huggingface.co/spaces/carpool-team/Carpool/resolve/main/server.js
312 Bytes
| require('dotenv').config(); | |
| const app = require('./src/app'); | |
| const PORT = Number(process.env.PORT || 7860); | |
| const HOST = '0.0.0.0'; | |
| app.listen(PORT, HOST, () => { | |
| console.log(`🚀 CarPool backend running at http://${HOST}:${PORT}`); | |
| console.log(`🔗 Health endpoint: http://${HOST}:${PORT}/health`); | |
| }); |