about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-29 12:45:02 +0100
committerGitHub <noreply@github.com>2020-01-29 12:45:02 +0100
commitb19c5392dfe4ce86a32c99d02503158d40b9ac19 (patch)
tree8f9140f2326df571a6990df6e9cbd1525f19e374
parentb424c1ce5573f72e36fcca00ef22e4b2f3dde9ff (diff)
downloadpuszcza-b19c5392dfe4ce86a32c99d02503158d40b9ac19.tar.gz
puszcza-b19c5392dfe4ce86a32c99d02503158d40b9ac19.zip
Update 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