satyarohith / sift

Sift is a routing and utility library for Deno Deploy.
https://deno.land/x/sift
MIT License
170 stars 14 forks source link

allowing configuring addr/port #58

Closed retog closed 2 years ago

retog commented 2 years ago

When using outside deno deploy a hard coded port number is very limiting, this makes it confgurable

NickTomlin commented 2 years ago

👍 I also noticed this. I currently work in an environment where 8000 is commonly already bound locally so making this configurable would be a great asset.

retog commented 2 years ago

Hi @satyarohith, I've updated the code to use Deno.ListenOptions and the latest std.