diff --git a/packages/cra-template-typescript/template/public/_redirects b/packages/cra-template-typescript/template/public/_redirects new file mode 100644 index 00000000000..9580b151672 --- /dev/null +++ b/packages/cra-template-typescript/template/public/_redirects @@ -0,0 +1,4 @@ +# Serve the root index.html for all client-side routes when hosted in Netlify or GitLab Pages. +# More information here: https://create-react-app.dev/docs/deployment/#serving-apps-with-client-side-routing + +/* /index.html 200 diff --git a/packages/cra-template/template/public/_redirects b/packages/cra-template/template/public/_redirects new file mode 100644 index 00000000000..9580b151672 --- /dev/null +++ b/packages/cra-template/template/public/_redirects @@ -0,0 +1,4 @@ +# Serve the root index.html for all client-side routes when hosted in Netlify or GitLab Pages. +# More information here: https://create-react-app.dev/docs/deployment/#serving-apps-with-client-side-routing + +/* /index.html 200