Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.