Remove manual redirect rules for Netlify SSR
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>
This commit is contained in:
+3
-5
@@ -9,8 +9,6 @@
|
|||||||
[headers.values]
|
[headers.values]
|
||||||
Cache-Control = "public, max-age=31536000, immutable"
|
Cache-Control = "public, max-age=31536000, immutable"
|
||||||
|
|
||||||
[[redirects]]
|
# NOTE: When using output: 'server' with Netlify adapter,
|
||||||
from = "/*"
|
# routing is handled automatically by the adapter.
|
||||||
to = "/.netlify/build/entry.mjs"
|
# No manual redirect rules needed for SSR functionality.
|
||||||
status = 200
|
|
||||||
force = true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user