Skip to content
This repository was archived by the owner on Feb 18, 2026. It is now read-only.
This repository was archived by the owner on Feb 18, 2026. It is now read-only.

Can't add custom routes to labelerServer.app #8

Description

@mattbrailsford

I'd like to add a custom route to the labelerServer.app instance such that I can respond to a webhook request to regenerate my label assignments, but whenever I try to add a route to the app, it just fails to start the labelerServer.

I've tried this as the most basic example

labelerServer.app.get("/my-custom-route", async (_req, res) => {
  // Logic should go here
  return res.send();
});

// Start the label server listener here

Should this be able to work? And am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions