Skip to content

Commit

Permalink
Revert "Prefer Flow development mode over localhost check (vaadin#26)"
Browse files Browse the repository at this point in the history
This reverts commit 4ff614f.
  • Loading branch information
alvarezguille authored Jun 27, 2019
1 parent f9399f2 commit ac97ae3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vaadin-development-mode-detector.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
return true;
}

if (FlowClients) {
return !isFlowProductionMode();
}

if (!isLocalhost()) {
return false;
}

if (FlowClients) {
return !isFlowProductionMode();
}

return !isMinified();
} catch (e) {
// Some error in this code, assume production so no further actions will be taken
Expand Down

0 comments on commit ac97ae3

Please sign in to comment.