jgkaplan / gemini-server

Node server for the gemini protocol, based on express
ISC License
65 stars 9 forks source link

Find all extensions. #30

Closed ptrmsk closed 1 year ago

ptrmsk commented 1 year ago

.findIndex just doesn't accept async functions (AFAIK), so I changed that logic to a less elegant, but still functional, for loop.

Any async function as findIndex's parameter appears to just return 0.