@@ -24,7 +24,7 @@ render((
24
24
), document .getElementById (' app' ))
25
25
```
26
26
27
- Now go click around and admire your clean urls .
27
+ Now go click around and admire your clean URLs .
28
28
29
29
Oh yeah, the catch. Click on a link and then refresh your browser. What
30
30
happens?
@@ -35,8 +35,8 @@ Cannot GET /repos
35
35
36
36
## Configuring Your Server
37
37
38
- Your server needs to deliver your app no matter what url comes in,
39
- because your app, in the browser, is manipulating the url . Our current
38
+ Your server needs to deliver your app no matter what URL comes in,
39
+ because your app, in the browser, is manipulating the URL . Our current
40
40
server doesn't know how to handle the URL.
41
41
42
42
The Webpack Dev Server has an option to enable this. Open up
@@ -47,7 +47,7 @@ The Webpack Dev Server has an option to enable this. Open up
47
47
```
48
48
49
49
We also need to change our relative paths to absolute paths in
50
- ` index.html ` since the urls will be at deep paths and the app, if it
50
+ ` index.html ` since the URLs will be at deep paths and the app, if it
51
51
starts at a deep path, won't be able to find the files.
52
52
53
53
``` html
@@ -60,7 +60,7 @@ starts at a deep path, won't be able to find the files.
60
60
```
61
61
62
62
Stop your server if it's running, then ` npm start ` again. Look at those
63
- clean urls :)
63
+ clean URLs :)
64
64
65
65
---
66
66
0 commit comments