Skip to content

Add custom/ route #10

@MattAndDev

Description

@MattAndDev

Allow some easy way to extend the api endpoints and functionality.
Provide a custom/ endpoint and allow to mount on that.
Something like:

const halApi = new HalApi()
halApi.registerRoute((route, req, res) => {
  // rasp-pi stuff
})

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions