From 7b1ad30f89d00b79565c817efda72328e2093bea Mon Sep 17 00:00:00 2001 From: Erin Date: Sat, 1 Jul 2023 16:56:55 -0400 Subject: [PATCH] list all the sites fuck it --- index.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/index.mjs b/index.mjs index 5562e0f..f73812b 100644 --- a/index.mjs +++ b/index.mjs @@ -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'); })