diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000000..1a61fda576 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,18 @@ +[build] + command = "remix build" + functions = "netlify/functions" + publish = "public" + +[dev] + command = "remix watch" + port = 3000 + +[[redirects]] + from = "/*" + to = "/.netlify/functions/server" + status = 200 + +[[headers]] + for = "/build/*" + [headers.values] + "Cache-Control" = "public, max-age=31536000, s-maxage=31536000" \ No newline at end of file