list all the sites fuck it

This commit is contained in:
Erin 2023-07-01 16:56:55 -04:00
parent d316282e80
commit 7b1ad30f89

View file

@ -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');
})