diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-01-28 19:22:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-28 19:22:05 +0100 |
commit | a441d3e5284bf1883a55810e7387b43ff4836de3 (patch) | |
tree | 9b955ab3edf8aa4c234512b53b7483aea0632a41 | |
parent | 8aa75ffbe661684fffcfe8f20a4da066c34c9813 (diff) | |
download | puszcza-a441d3e5284bf1883a55810e7387b43ff4836de3.tar.gz puszcza-a441d3e5284bf1883a55810e7387b43ff4836de3.zip |
Update netlify.toml
-rw-r--r-- | netlify.toml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/netlify.toml b/netlify.toml index 5c94b41..49b3af9 100644 --- a/netlify.toml +++ b/netlify.toml @@ -4,6 +4,7 @@ publish = "dist/" command = "npm run build" [[redirects]] - from = "/api/posts" - to = "/api/posts.json" - status = 200 \ No newline at end of file + from = "/api/*" + to = "https://api-puszcza.netlify.com/api/:splat" + status = 200 + force = true |