diff options
Diffstat (limited to '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 |