When trying to use shep as a library, one needs the current working directory of the node process. This can lead to some really clumsy directory changing. Suggested solution:
shep.pathPrefix = 'my_project/api'
and then pathPrefix is just joined to any of the paths in load.js
When trying to use shep as a library, one needs the current working directory of the node process. This can lead to some really clumsy directory changing. Suggested solution:
shep.pathPrefix = 'my_project/api'
and thenpathPrefix
is just joined to any of the paths inload.js