about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-28 20:18:38 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-28 20:18:38 +0100
commitf6865bb37177ac192c1c55395497c54fdbb6ee63 (patch)
tree6fe224aac15e46ed4f527b12b86fdac7ab376b29
parenta441d3e5284bf1883a55810e7387b43ff4836de3 (diff)
downloadpuszcza-f6865bb37177ac192c1c55395497c54fdbb6ee63.tar.gz
puszcza-f6865bb37177ac192c1c55395497c54fdbb6ee63.zip
Revert "Update netlify.toml"
This reverts commit a441d3e5284bf1883a55810e7387b43ff4836de3.
-rw-r--r--netlify.toml7
1 files changed, 3 insertions, 4 deletions
diff --git a/netlify.toml b/netlify.toml
index 49b3af9..5c94b41 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -4,7 +4,6 @@ publish = "dist/"
 command = "npm run build"
 
 [[redirects]]
- from = "/api/*"
- to = "https://api-puszcza.netlify.com/api/:splat"
- status = 200
- force = true
+    from = "/api/posts"
+    to = "/api/posts.json"
+    status = 200
\ No newline at end of file