serenity
serenity copied to clipboard
WebServer: Show the correct port when using port 0
Specifying port 0 on the command line causes WebServer to select a random available port. We now show the port WebServer is actually using rather than assuming it is the same as the command line argument.
Example:
https://github.com/SerenityOS/serenity/assets/2817754/4dc2edef-aba3-4ede-b071-54c3e4173711