Skip to content

custom integration: injected catch-all route overwrites local routes #6221

@nowaythatworked

Description

@nowaythatworked

What version of astro are you using?

2.0.10

Are you using an SSR adapter? If so, which one?

Vercel (error on dev)

What package manager are you using?

yarn

What operating system are you using?

mac

Describe the Bug

I´m injecting a "catch-all" route [...slug] inside a custom integration. When doing this all other routes I create inside my pages folder can not be found.
I guess something is wrong in the prioritisation.

I´m willing to help fix this if someone can point me to the right direction in code.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/withastro-astro-g758sr?file=astro.config.ts

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    - P3: minor bugAn edge case that only affects very specific usage (priority)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions