Custom route always 404

export default {
  routes: [
    {
      method: "GET",
      path: "/commands/get-points",
      handler: "command.getPoints",
      config: {
        auth: false,
      },
    },
  ],
};