o-p-n / serveit

MIT License
0 stars 1 forks source link

Log startup info as URL #41

Open hildjj opened 1 day ago

hildjj commented 1 day ago

If this line is formatted as a URL, you'd be able to click on it to launch a browser if you were using a modern terminal program.

https://github.com/o-p-n/serveit/blob/152c4566d68504350b2de8cac2037c98f20125e6/src/file-server.ts#L52

linuxwolf commented 1 day ago

I might consider this, however it may (likely will) result in other issues filed.

When run as intended in a pod with something like (istio) Envoy proxying, this will almost never work (unreachable address, maybe even unreachable port).