Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to disable routes in plugins #4

Open
pixlmint opened this issue Jul 13, 2023 · 0 comments
Open

Option to disable routes in plugins #4

pixlmint opened this issue Jul 13, 2023 · 0 comments

Comments

@pixlmint
Copy link
Owner

It should be possible to retroactively disable endpoints.

Something like this:

$routes => [
  [a-route],
  'disabled' => ['/api/init']
]

This would add another custom route and also disable /api/init. If the plugin defines a route and also includes that route in the disabled array then it will be disabled

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

No branches or pull requests

1 participant