From a441d3e5284bf1883a55810e7387b43ff4836de3 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Tue, 28 Jan 2020 19:22:05 +0100 Subject: Update netlify.toml --- netlify.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'netlify.toml') 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 -- cgit 1.4.1