Skip to content

Commit

Permalink
Create netlify.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
gigincg committed May 24, 2021
1 parent 45058a8 commit f42f09a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -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"}

0 comments on commit f42f09a

Please sign in to comment.