feat: implicit client bypass
This commit is contained in:
parent
1554cea35b
commit
ec18e88e3d
|
@ -8,7 +8,10 @@ module.exports = async (latus, req) => {
|
||||||
const defaults = Object.keys(latus.originalConfig)
|
const defaults = Object.keys(latus.originalConfig)
|
||||||
.map((plugin) => {
|
.map((plugin) => {
|
||||||
const config = {};
|
const config = {};
|
||||||
if (false === plugins[plugin]) {
|
if (
|
||||||
|
false === plugins[plugin]
|
||||||
|
|| 'server' === plugin.split('/').pop()
|
||||||
|
) {
|
||||||
delete plugins[plugin];
|
delete plugins[plugin];
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user