mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-06 08:08:08 +01:00
fix: update netlify configuration with processing settings
Co-Authored-By: G <butaeff@gmail.com>
This commit is contained in:
1 parent
6bac54674d
commit
37cebef499
1 file changed
+23
-1
+23
-1
@@ -8,6 +8,23 @@
|
||||
NEXT_USE_NETLIFY = "true"
|
||||
NEXT_STATIC_EXPORT = "true"
|
||||
|
||||
[build.processing]
|
||||
skip_processing = false
|
||||
|
||||
[build.processing.html]
|
||||
pretty_urls = true
|
||||
|
||||
[build.processing.css]
|
||||
bundle = true
|
||||
minify = true
|
||||
|
||||
[build.processing.js]
|
||||
bundle = true
|
||||
minify = true
|
||||
|
||||
[build.processing.images]
|
||||
compress = true
|
||||
|
||||
[functions]
|
||||
node_bundler = "esbuild"
|
||||
included_files = ["app/api/**"]
|
||||
@@ -20,11 +37,16 @@
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
from = "/"
|
||||
to = "/index.html"
|
||||
status = 200
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/404.html"
|
||||
status = 404
|
||||
|
||||
[[headers]]
|
||||
for = "/api/*"
|
||||
[headers.values]
|
||||
|
||||
Reference in new issue
Block a user