Returns the default route map used in launcher.
Registers:
GET /
index.ejs
text/html
DELETE|PATCH|POST|PUT|OPTIONS /
GET /api/
DELETE|PATCH|POST|PUT /api/
Authentication is handled globally by the preHandler hook registered in launcher when locals.authPaths is set.
preHandler
locals.authPaths
Returns the default route map used in launcher.
Registers:
GET /— rendersindex.ejsfortext/html, throws 406 otherwise.DELETE|PATCH|POST|PUT|OPTIONS /— responds with 405 Method Not Allowed.GET /api/— returns a JSON welcome message.DELETE|PATCH|POST|PUT /api/— responds with 405 Method Not Allowed.Authentication is handled globally by the
preHandlerhook registered in launcher whenlocals.authPathsis set.