From f42f09a433a3e8d0c7090ce75ecae99a79d9a2be Mon Sep 17 00:00:00 2001 From: Gigin George Date: Mon, 24 May 2021 22:25:13 +0530 Subject: [PATCH] Create netlify.toml --- netlify.toml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 00000000000..3fc2fb7e908 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,7 @@ +## This rule redirects to an external API, signing requests with a secret +[[redirects]] + from = "/api/*" + to = "https://careapi.coronasafe.in/api/:splat" + status = 301 + force = true # COMMENT: ensure that we always redirect + headers = {X-From = "Netlify"} \ No newline at end of file