BugdrLog in
All problems
EasyJavaScriptBackend Engineer · cli · http · node · static-files

Startup banner shows LAN address

★ 0.0 (0 ratings)20 min0 engineers solved this

Your assignment

This is a small command-line tool that starts a static file HTTP server for a folder. The entry script parses flags such as listen endpoints, SSL options, CORS and config files, then creates an HTTP or HTTPS server for each endpoint. Requests are handled by a shared static file handler with optional compression middleware. When run in an interactive terminal, the startup code prints a boxed banner listing the local URL and the URL reachable from other machines, and can copy the local URL to the clipboard. Non-interactive runs print a single info line instead. Network interfaces are read through Node's os module when the script loads.

What the team is seeing

incident log
After updating, the startup box only lists the address on this computer and no longer shows the address other devices on my Wi-Fi can use to open the site. I used to see that second address there and relied on it to open the site from my phone.

Acceptance checks 1

  • Check 1

Discussion is locked — log in and complete this problem to join the discussion and rate your experience.