Closed floatingLomas closed 11 years ago
Is there a way - other than mounting it as a 'sub-app' - to provide a root mount point for express-resource? I want all the resources to live at /api/{resources}, but I can't seem to find a way that feels 'right' to accomplish this.
express-resource
/api/{resources}
I dont think we have any prefixing right now, but that's effectively all a sub-app is
Cool. The sub-app approach worked perfectly for what I was trying to do.
Is there a way - other than mounting it as a 'sub-app' - to provide a root mount point for
express-resource
? I want all the resources to live at/api/{resources}
, but I can't seem to find a way that feels 'right' to accomplish this.