Skip to content

Commit 9d4ff67

Browse files
authored
[docs] Correct default port on blog posts (#7372)
1 parent 2f71bc9 commit 9d4ff67

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

site/content/blog/2017-08-07-the-easiest-way-to-get-started.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ npm install
3131
npm run dev
3232
```
3333

34-
This will serve your app on [localhost:5000](http://localhost:5000) and rebuild it with [Rollup](https://rollupjs.org) every time you make a change to the files in `svelte-app/src`.
35-
34+
This will serve your app on [localhost:8080](http://localhost:8080) and rebuild it with [Rollup](https://rollupjs.org) every time you make a change to the files in `svelte-app/src`.
3635

3736
## 2. Use degit
3837

@@ -50,7 +49,7 @@ npm install
5049
npm run dev
5150
```
5251

53-
This will create a new project in the `my-svelte-project` directory, install its dependencies, and start a server on http://localhost:5000.
52+
This will create a new project in the `my-svelte-project` directory, install its dependencies, and start a server on http://localhost:8080.
5453

5554
You can find more information about using TypeScript [here](/blog/svelte-and-typescript).
5655

site/content/blog/2019-04-16-svelte-for-new-developers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ npm run dev
7878

7979
Running the `dev` script starts a program called [Rollup](https://rollupjs.org/guide/en/). Rollup's job is to take your application's source files (so far, just `src/main.js` and `src/App.svelte`), pass them to other programs (including Svelte, in our case) and convert them into the code that will actually run when you open the application in a browser.
8080

81-
Speaking of which, open a browser and navigate to http://localhost:5000. This is your application running on a local *web server* (hence 'localhost') on port 5000.
81+
Speaking of which, open a browser and navigate to http://localhost:8080. This is your application running on a local *web server* (hence 'localhost') on port 8080.
8282

8383
Try changing `src/App.svelte` and saving it. The application will reload with your changes.
8484

@@ -99,7 +99,7 @@ Your `public` directory now contains a compressed `bundle.js` file containing yo
9999
npm run start
100100
```
101101

102-
This will run the app on http://localhost:5000.
102+
This will run the app on http://localhost:8080.
103103

104104

105105
## Next steps

0 commit comments

Comments
 (0)