list all the sites fuck it
This commit is contained in:
parent
9e7349cce9
commit
479463e60b
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ function handle (offset, request, response) {
|
|||
express()
|
||||
.get('/prev', (request, response) => handle(-1, request, response))
|
||||
.get('/next', (request, response) => handle(+1, request, response))
|
||||
.get('/list', (request, response) => response.send(sites.join('\n')))
|
||||
.listen(process.env.PORT || 8080, () => {
|
||||
console.log('doing the thing');
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue