ybbond-reason

My old site written in ReasonReact
Log | Files | Refs | README

commit 2d2babe7f657ba9529debfde4b55fc323767071e
parent 0b7b65cf5e8857c33a57110eb0bfce2f9c7576b6
Author: Yohanes Bandung <bandungpenting@gmail.com>
Date:   Mon, 19 Aug 2019 17:52:17 +0700

hotfix(Route) => default routes for netlify

Diffstat:
Anetlify.toml | 6++++++
Dsrc/_redirects | 1-

2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/netlify.toml b/netlify.toml
@@ -0,0 +1,6 @@
+# The following redirect is intended for use with most SPAs that handle
+# routing internally.
+[[redirects]]
+  from = "/*"
+  to = "/index.html"
+  status = 200
diff --git a/src/_redirects b/src/_redirects
@@ -1 +0,0 @@
-/*    /index.html   200