Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/regisphilibert/astro-issue-repro-netlify-ssr
This is a reproduction repo for Astro #7540
https://github.com/regisphilibert/astro-issue-repro-netlify-ssr
Last synced: 9 days ago
JSON representation
This is a reproduction repo for Astro #7540
- Host: GitHub
- URL: https://github.com/regisphilibert/astro-issue-repro-netlify-ssr
- Owner: regisphilibert
- Created: 2023-06-30T15:00:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-18T19:07:27.000Z (11 months ago)
- Last Synced: 2024-12-09T01:34:53.846Z (14 days ago)
- Language: Astro
- Homepage: https://github.com/withastro/astro/issues/7540
- Size: 356 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Astro Netlify Repro
GH Issue: https://github.com/withastro/astro/issues/7540
## Versions
Astro 3.5.0
Netlify 3.0.4## Description
SSR routes systematically returns 404 on Netlify when a rest parameter is used at the root of the pages directory.🚫
```
src/
├─ pages/
│ ├─ [...page].astro (static works)
│ ├─ persons/[id].astro (ssr 404)
```
✅
```
src/
├─ pages/
│ ├─ [page].astro (static works)
│ ├─ persons/[id].astro (ssr works)
```This problems appears above @astro/netlify 2.2.0, downgrading to said version fixes the issue. Astro version seems irrelevant.
## Step to reproduce
1. Deploy to Netlify
2. From homepage, navigate to any `/persons[id]` route.