about summary refs log tree commit diff
path: root/netlify.toml
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-28 19:55:17 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-28 19:55:17 +0100
commit474d2bd31fdb0d13e07793c31d82e4eb264731cf (patch)
tree86cbfd30da21cc7abecc611c6ecdc6140a542a28 /netlify.toml
parentc6b9b1e2846e769dbeb7cbb567a4e9ec08f3dd9c (diff)
parenta441d3e5284bf1883a55810e7387b43ff4836de3 (diff)
downloadpuszcza-474d2bd31fdb0d13e07793c31d82e4eb264731cf.tar.gz
puszcza-474d2bd31fdb0d13e07793c31d82e4eb264731cf.zip
Merge remote-tracking branch 'origin/master' into feature/json-api
Diffstat (limited to 'netlify.toml')
-rw-r--r--netlify.toml7
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