How to get a list of routes in sailsjs, including drawings and custom routes

I am new to sailsjs. I would like to know how to list all routes, including drawings and user routes in JSON form.

+6
source share
1 answer

sails.config.routes will provide you with specific routes. There is currently a github issue to collect the rest

https://github.com/balderdashy/sails/pull/2659#issuecomment-77417170

+6
source

Source: https://habr.com/ru/post/983302/


All Articles