Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customizing pep for othe components #388

Open
amfgomez opened this issue Sep 5, 2018 · 0 comments
Open

Customizing pep for othe components #388

amfgomez opened this issue Sep 5, 2018 · 0 comments

Comments

@amfgomez
Copy link

amfgomez commented Sep 5, 2018

Hello

I am trying to make a custom pep for a rest API.
I have modified the config.js file:
config.middlewares = {
/**
* Indicates the module from where the middlewares will be loaded.
*/
require: 'lib/plugins/restPlugin',

/**
 * Indicates the list of middlewares to load.
 */
functions: [
    'extractAction'
]

};

I don't know how I should modify the restPlugin.js.
Can someone help me?
Thank you very much.
Best regard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant