diff --git a/src/netlify.toml b/src/netlify.toml new file mode 100644 index 0000000..7f213c7 --- /dev/null +++ b/src/netlify.toml @@ -0,0 +1,12 @@ +# The following redirect is intended for use with most SPAs that handle +# routing internally. +[[redirects]] + from = "/*" + to = "/index.html" + status = 200 + +[[headers]] + # Define which paths this specific [[headers]] block will cover. + for = "/*" + [headers.values] + Access-Control-Allow-Origin = "*" \ No newline at end of file