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

Add hook to allow adding custom api endpoints to Express routing #4943

Merged
merged 1 commit into from
Jan 31, 2023

Conversation

MartinMa
Copy link
Contributor

This PR:

  • Adds hook_setupHttpHandlers to webserver.js to enable adding custom http handlers (@MartinMa).
  • Consolidates all plugin documentation into one file (@schories).

A generic example implementation for this new hook can be found here:
https://github.com/MartinMa/MeshCentral-HttpHandlers-Sample

Fixes #4942

@Ylianst Ylianst merged commit cd0c564 into Ylianst:master Jan 31, 2023
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.

Add hook to Express routing to allow custom http handlers
2 participants