dd1806a312
The Netlify adapter automatically handles all routing when using output: 'server'. Manual redirect rules were interfering with proper API endpoint handling. Co-Authored-By: Claude <noreply@anthropic.com>
15 lines
455 B
TOML
15 lines
455 B
TOML
[build]
|
|
publish = "dist"
|
|
command = "npm run build"
|
|
ignore = "git log -1 --pretty=format:'%ae' | grep -v 'bcanata@hotmail.com'"
|
|
[build.processing.html]
|
|
pretty_urls = false
|
|
[[headers]]
|
|
for = "/_astro/*"
|
|
[headers.values]
|
|
Cache-Control = "public, max-age=31536000, immutable"
|
|
|
|
# NOTE: When using output: 'server' with Netlify adapter,
|
|
# routing is handled automatically by the adapter.
|
|
# No manual redirect rules needed for SSR functionality.
|