mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-05 06:59:11 +01:00
fix: update Netlify configuration for proper routing and TinaCMS assets
Co-Authored-By: G <butaeff@gmail.com>
This commit is contained in:
1 parent
8a67b58cd5
commit
9b8af3b54f
2 files changed
+2
-6
No files matched your search
+1
-5
@@ -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
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user