You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: packages/react-scripts/template/README.md
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1751,7 +1751,7 @@ This is because when there is a fresh page load for a `/todos/42`, the server lo
1751
1751
});
1752
1752
```
1753
1753
1754
-
If you’re using [Apache](https://httpd.apache.org/), you need to create a `.htaccess` file in the `public` folder that looks like this:
1754
+
If you’re using [Apache HTTP Server](https://httpd.apache.org/), you need to create a `.htaccess` file in the `public` folder that looks like this:
1755
1755
1756
1756
```
1757
1757
Options -MultiViews
@@ -1760,7 +1760,9 @@ If you’re using [Apache](https://httpd.apache.org/), you need to create a `.ht
1760
1760
RewriteRule ^index.html [QSA,L]
1761
1761
```
1762
1762
1763
-
It will get copied to the `build` folder when you run `npm run build`.
1763
+
It will get copied to the `build` folder when you run `npm run build`.
1764
+
1765
+
If you’re using [Apache Tomcat](http://tomcat.apache.org/), you need to follow [this Stack Overflow answer](https://stackoverflow.com/a/41249464/4878474).
1764
1766
1765
1767
Now requests to `/todos/42` will be handled correctly both in development and in production.
0 commit comments