Spaces:
Sleeping
Sleeping
| const express = require('express') | |
| const path = require('path') | |
| const app = express() | |
| const port = 7860 | |
| app.use(express.static(path.join(__dirname, 'public'))); | |
| app.get('/dl/GrowLauncher.apk', (req, res) => { | |
| res.download(path.join(__dirname, 'GrowLauncher.apk')) | |
| }) | |
| app.listen(port, () => { | |
| console.log(`Server running at http://localhost:${port}`) | |
| }) |