Skip to content

Conversation

@williamjallen
Copy link
Collaborator

The current default route handler was initially conceived as a way to integrate Laravel into the existing routing system. This route handler only applies to a handful of legacy API routes at this point, falling through with a 404 otherwise. This PR limits the scope of the default route handler to only apply to routes under /api, using Laravel's default route handler for the rest of the routes. I also changed the visibility of most of the functions in the file to better reflect their purpose.

Copy link
Member

@josephsnyder josephsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@josephsnyder josephsnyder added this pull request to the merge queue Apr 30, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 30, 2025
@josephsnyder josephsnyder added this pull request to the merge queue Apr 30, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 30, 2025
@williamjallen williamjallen added this pull request to the merge queue Apr 30, 2025
Merged via the queue into Kitware:master with commit 7aa5495 Apr 30, 2025
12 of 14 checks passed
@williamjallen williamjallen deleted the default-route-handler branch April 30, 2025 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants