diff options
-rw-r--r-- | netlify.toml | 7 |
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 |