list all the sites fuck it
This commit is contained in:
parent
d316282e80
commit
7b1ad30f89
|
@ -28,6 +28,7 @@ function handle (offset, request, response) {
|
||||||
express()
|
express()
|
||||||
.get('/prev', (request, response) => handle(-1, request, response))
|
.get('/prev', (request, response) => handle(-1, request, response))
|
||||||
.get('/next', (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, () => {
|
.listen(process.env.PORT || 8080, () => {
|
||||||
console.log('doing the thing');
|
console.log('doing the thing');
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue