From 479463e60b730f522299168fd3ed8324d99ee13d 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'); })