jgkaplan / gemini-server

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

Ignore HTTP requests #32

Open matdombrock opened 1 year ago

matdombrock commented 1 year ago

This PR is an attempt to address issue #31.

This implements a "simple" regex based solution to check if we have an HTTP request and if we do it will be ignored.

I'm not sure is this is how you would want this implemented but it works for me.