diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-01-29 12:45:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-29 12:45:02 +0100 |
commit | b19c5392dfe4ce86a32c99d02503158d40b9ac19 (patch) | |
tree | 8f9140f2326df571a6990df6e9cbd1525f19e374 /netlify.toml | |
parent | b424c1ce5573f72e36fcca00ef22e4b2f3dde9ff (diff) | |
download | puszcza-b19c5392dfe4ce86a32c99d02503158d40b9ac19.tar.gz puszcza-b19c5392dfe4ce86a32c99d02503158d40b9ac19.zip |
Update netlify.toml
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 |