diff --git a/vaadin-development-mode-detector.html b/vaadin-development-mode-detector.html index abe9ece..cb2eb95 100644 --- a/vaadin-development-mode-detector.html +++ b/vaadin-development-mode-detector.html @@ -21,14 +21,14 @@ return true; } - if (!isLocalhost()) { - return false; - } - if (FlowClients) { return !isFlowProductionMode(); } + if (!isLocalhost()) { + return false; + } + return !isMinified(); } catch (e) { // Some error in this code, assume production so no further actions will be taken