magic-router v1.1.1
1.1.1 : Add global Prefix for routing.
- Adding global prefix for routing in magic-router. Usage example from test
Initializing Opitons
let options = {
dirPath:'./controllers', // path of controller directory
exclude:[], // optional files path for removing from magic-routering
prefix:'', // global prefix for routing => added in 1.1.1 releases
};
magicRouter.addAll(app, options);