Skip to content

Releases: Alex-Levacher/Lumie

🐛Fix Path option

10 Dec 10:45
Compare
Choose a tag to compare

Now it's possible to use the path option it as shown below:

controllers > index.js

module.exports = {
    path: '/', // note that you can set the path you want here in order to rename 'index'
    '/': {
        get: {
            action: index,
            level: 'public'
        }
    }
};

will output with api as a preUrl:

public	get	[/api/]

instead of:

public	get	[/api/index]