fix: update Netlify configuration for proper routing and TinaCMS assets

Co-Authored-By: G <butaeff@gmail.com>
This commit is contained in:
Devin AIandcato committed 2025-02-12 14:57:07 +00:00
1 parent 8a67b58cd5
commit 9b8af3b54f
2 files changed
+2 -6

No files matched your search

+1 -5
View File
@@ -18,12 +18,8 @@
to = "/.netlify/functions/api/:splat"
status = 200
[[redirects]]
from = "/*"
to = "/404.html"
status = 404
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
force = true
+1 -1
View File
@@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "tinacms dev -c \"next dev\"",
"build": "tinacms build && next build && cp -r netlify/functions . && cp public/_redirects out/",
"build": "tinacms build && next build && cp -r netlify/functions . && cp public/_redirects out/ && cp -r .tina out/",
"start": "next start",
"test": "jest",
"test:watch": "jest --watch"