MatthiasSaihttam
69e49e7f84
Misc changes
...
* Static handler can match sub paths
* Handler.handle can be asnyc
* Better hostname checking at the start of basePaths
* Document the SNI requirement
2021-08-29 12:12:34 -04:00
MatthiasSaihttam
39b8d8f715
Wildcard domains
...
* Add support for wildcard domains (constrained to patterns you can get wildcard TLS certs for)
* Clean up some console.logs
* Rename some path variables
2021-08-28 22:34:32 -04:00
MatthiasSaihttam
f4408190f0
Single file static hosting
2021-08-28 20:02:41 -04:00
MatthiasSaihttam
4c5985e0ff
Move handlers to classes instead of functions
2021-08-28 19:39:40 -04:00
MatthiasSaihttam
aa0d8ddefe
Basic path pathRegistry matching!
...
* We can now register paths with handler functions and it works!
2021-08-28 18:32:24 -04:00
MatthiasSaihttam
af9ce9f61f
Start fleshing it out
...
* Start a static handler
* GeminiServer can now load certs and runs a TLS server
* The example now runs!
2021-08-28 17:34:09 -04:00
MatthiasSaihttam
a6f5a2cd62
Move to ES6 modules
...
* Move to ES6 modules
* Start working on a GeminiServer class
* Create a package.json
2021-08-28 16:09:02 -04:00