Maik Jablonski
Maik Jablonski
Very strange... even if I set the Framework to "other" and provide "dist" as output (where a 404.html sits at root), it doesn't work. Seems to be a problem with...
I've created a support ticket at Vercel. Let's see what they will say.
Just an update, the Vercel support wrote to me: > What version of Astro are you using currently? This issue seems to have been fixed in an update here: https://github.com/withastro/astro/pull/4018...
Maybe relevant: I'm using Astro with an /api-folder for Vercel functions.
My interpretation of the problem: when Vercel detects an Astro project (regardless if there's a Vercel adapter installed or not), it runs it in some kind of SSR mode. This...
routes didn't work for me because I need rewrite rules. Rewrites are not allowed to mix with routes. So I've tested and found this combination (with an example rewrite). And...
I've added a PR for the docs, so others won't run into this issue: https://github.com/withastro/astro/pull/4299
I've checked again... the "root" slug must be **undefined** instead of an empty string. The following code works as expected in Astro 1.0.1... maybe it would have worked in earlier...
I've closed #3990, because I'm totally fine with _undefined_ as value instead of an empty string to create a top level index.html route, so nothing needs to be fixed. It...
Now I understand the problem. This PR got closed automagically by Github because I've closed #3990. I cannot reopen it, but IMHO it should be merged to the docs.