Commit 2580bfa
Anubhav Saini
Fixes #72. Update URL, introduce error when ListenAndServe fail.
1. The URL where the server is running is updated so that it can be
clicked from the terminal, in case the terminal supports it.
2. The error is thrown if the port cannot be bound by the tutorial
server.1 parent 624b416 commit 2580bfa
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
386 | 388 | | |
387 | 389 | | |
388 | 390 | | |
389 | 391 | | |
390 | | - | |
| 392 | + | |
391 | 393 | | |
392 | | - | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
393 | 398 | | |
394 | 399 | | |
395 | 400 | | |
0 commit comments