stereobooster/react-snap

Documentation: describe how to setup servers

Open

#117 建立於 2018年1月14日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)JavaScript (4,982 star) (403 fork)batch import
enhancementhelp wanted

描述

Three possible situations:

  • there is only one page - redirect all requests to index.html
  • all pages are prerendered by react-snap - do not redirect and do not use index.html as fallback, use 404.html as 404 page
  • some pages are prerendered and some not. Use 200.html as fallback, instead of index.html

References:

貢獻者指南