fix(csrf): remove all csrf bypass
This commit is contained in:
committed by
mrugesh
parent
f183df0d88
commit
23b899f50f
@ -2,5 +2,4 @@ module.exports = function mountRestApi(app) {
|
||||
const restApi = app.loopback.rest();
|
||||
const restApiRoot = app.get('restApiRoot');
|
||||
app.use(restApiRoot, restApi);
|
||||
app.use(`/internal${restApiRoot}`, restApi);
|
||||
};
|
||||
|
Reference in New Issue
Block a user