about summary refs log tree commit diff
path: root/netlify.toml
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-02-04 18:14:31 +0100
committerGitHub <noreply@github.com>2020-02-04 18:14:31 +0100
commit848b756ee30e053e8157657509307e52f61d5c51 (patch)
tree537d8c83491e904e4ba7fa84e4b993ba33a2e307 /netlify.toml
parentb19c5392dfe4ce86a32c99d02503158d40b9ac19 (diff)
downloadpuszcza-848b756ee30e053e8157657509307e52f61d5c51.tar.gz
puszcza-848b756ee30e053e8157657509307e52f61d5c51.zip
Add admin panel
Diffstat (limited to 'netlify.toml')
-rw-r--r--netlify.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml
index 49b3af9..ab7246c 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -8,3 +8,8 @@ command = "npm run build"
  to = "https://api-puszcza.netlify.com/api/:splat"
  status = 200
  force = true
+
+ from = "/admin/*"
+ to = "https://api-puszcza.netlify.com/admin/:splat"
+ status = 200
+ force = true