From b7d362a39dab23b591fb94ee4d29d2c7adaaa471 Mon Sep 17 00:00:00 2001 From: dev Date: Tue, 19 Mar 2024 14:51:27 -0400 Subject: [PATCH] netlify deployment --- netlify.toml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 netlify.toml 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