Can't rewrite root path ('/') to function when output contains index.html
.
#5723
-
I have a vercel.json like the above, but it appears that my root is instead being treated as the static file |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
This is partially answered by #5303 , but given that |
Beta Was this translation helpful? Give feedback.
-
Has this been solved? I want to deploy a SSR Vite application and the express route for '/' is not being called because Vercel serves the index.html in the root folder of the source. How can I work around this?
|
Beta Was this translation helpful? Give feedback.
This is partially answered by #5303 , but given that
routes
is now legacy, how should this be handled?