diff --git a/netlify.toml b/netlify.toml index 8f5f4a1..95e6e4c 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,4 +1,9 @@ -[[headers]] +[[redirects]] + from = "/*" + to = "/index.html" + status = 200 + +[[headers]] for = "/*.js" [headers.values] Cache-Control = "public, max-age=31536000, must-revalidate" @@ -26,4 +31,5 @@ [[headers]] for = "/*.svg" [headers.values] - Cache-Control = "public, max-age=31536000, must-revalidate" \ No newline at end of file + Cache-Control = "public, max-age=31536000, must-revalidate" + diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..77973c1 --- /dev/null +++ b/vercel.json @@ -0,0 +1,8 @@ +{ + "rewrites": [ + { + "source": "/:path*", + "destination": "/index.html" + } + ] +} \ No newline at end of file