TUTORIAL.md - use localhost instead of others (#2735)

Seeing as npm start now uses localhost instead of instead of 127.0.0.1 or [::], just updating it in the tutorial.
This commit is contained in:
James Cahill
2019-01-11 18:57:51 +00:00
committed by Paul Melnikow
parent eb7ea8499d
commit 3f118f8442

View File

@@ -41,7 +41,7 @@ install node and npm: https://nodejs.org/en/download/
5. Run the server
`npm start`
6. Visit the website to check the front-end is loaded:
[http://127.0.0.1:3000/](http://127.0.0.1:3000/)
[http://localhost:3000/](http://localhost:3000/)
You may also want to install
[ImageMagick](https://www.imagemagick.org/script/download.php).
@@ -155,7 +155,7 @@ To try out this example badge:
2. Quit the running server with `Control+C`.
3. Start the server again.
`npm start`
4. Visit the badge at <http://[::]:8080/example/foo.svg>.
4. Visit the badge at <http://localhost:8080/example/foo.svg>.
It should look like this: ![](https://img.shields.io/badge/example-foo-blue.svg)
[path-to-regexp]: https://github.com/pillarjs/path-to-regexp#parameters