stereobooster/react-snap

Documentation: describe how to setup servers

Open

#117 aberto em 14 de jan. de 2018

Ver no GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (4.982 stars) (403 forks)batch import
enhancementhelp wanted

Description

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:

Guia do colaborador