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)
|
||||
.map((plugin) => {
|
||||
const config = {};
|
||||
if (false === plugins[plugin]) {
|
||||
if (
|
||||
false === plugins[plugin]
|
||||
|| 'server' === plugin.split('/').pop()
|
||||
) {
|
||||
delete plugins[plugin];
|
||||
return undefined;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user