This boilerplate includes a .htaccess file that does two things:
yourdomain.com/subpage) to yourdomain.com/index.html
to let react-router take care of presenting the correct page.Note: For performance reasons you should probably adapt it to run as a static
.conffile (typically under/etc/apache2/sites-enabledor similar) so that your server doesn't have to apply its rules dynamically per request)
Also it includes a .nginx.conf file that does the same on Nginx server.