feat: implicit client bypass

This commit is contained in:
cha0s 2021-01-19 10:05:51 -06:00
parent 1554cea35b
commit ec18e88e3d

View File

@ -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;
}