41a35c2a30
Add redirect to route all requests to the Netlify SSR server function. This enables KeyStatic API routes and GitHub OAuth to work properly. Co-Authored-By: Claude <noreply@anthropic.com>
17 lines
382 B
TOML
17 lines
382 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"
|
|
|
|
[[redirects]]
|
|
from = "/*"
|
|
to = "/.netlify/build/entry.mjs"
|
|
status = 200
|
|
force = true
|