File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
packages/react-scripts/template/public Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 5
5
< meta name ="viewport " content ="width=device-width, initial-scale=1 ">
6
6
< link rel ="shortcut icon " href ="%PUBLIC_URL%/favicon.ico ">
7
7
<!--
8
- Notice the use of %PUBLIC_URL% in the tag above.
9
- It will be replaced with the URL of the `public` folder during the build.
10
- Only files inside the `public` folder can be referenced from the HTML.
8
+ Notice the use of the PUBLIC_URL variable in the tag above. It will
9
+ be (or has been) replaced with the URL of the `public` folder during
10
+ the build. Only files inside the `public` folder can be referenced
11
+ from the HTML.
11
12
12
- Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
13
- work correctly both with client-side routing and a non-root public URL.
13
+ Unlike "/favicon.ico" or "favicon.ico", the link href path will, if
14
+ the PUBLIC_URL variable is defined correctly during the build, work
15
+ correctly both with client-side routing and a non-root public URL.
14
16
Learn how to configure a non-root public URL by running `npm run build`.
15
17
-->
16
18
< title > React App</ title >
You can’t perform that action at this time.
0 commit comments