Skip to content

Commit a2501b0

Browse files
authored
Merge pull request #1 from IBwWG/IBwWG-patch-1
Update index.html
2 parents b1b6922 + fc70ebd commit a2501b0

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

packages/react-scripts/template/public/index.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
77
<!--
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.
1112
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.
1416
Learn how to configure a non-root public URL by running `npm run build`.
1517
-->
1618
<title>React App</title>

0 commit comments

Comments
 (0)