Skip to content

fix: User plugin /api routes take precedence over catch all /api route - #1068

Open
jimmaaay wants to merge 1 commit into
SonicJs-Org:mainfrom
jimmaaay:fix/api-routes-user-plugins
Open

fix: User plugin /api routes take precedence over catch all /api route#1068
jimmaaay wants to merge 1 commit into
SonicJs-Org:mainfrom
jimmaaay:fix/api-routes-user-plugins

Conversation

@jimmaaay

Copy link
Copy Markdown

Description

Moved the /api catch all route after the user defined plugins. This allows the redirect plugins /api/redirects to be used

Fixes #1067

Changes

  • Moves the /api catch all route after the user defined plugins

Testing

Tested with the added unit test. (Red/green phase)

Unit Tests

  • Added/updated unit tests
  • All unit tests passing

E2E Tests

  • Added/updated E2E tests
  • All E2E tests passing

Screenshots/Videos

Checklist

  • Code follows project conventions
  • Tests added/updated and passing
  • Type checking passes
  • No console errors or warnings
  • Documentation updated (if needed)

Generated with Claude Code in Conductor

Signed-off-by: Jimmy Thompson <thisguy@jimmythompson.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Redirect Management Plugin - GET /api/redirects returns a 404

1 participant