Skip to content

Commit

Permalink
fix: support newer firefox without appcache (#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlopezFC authored Jul 26, 2021
1 parent e5850db commit a318d48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ public static boolean supportsGooglePWA() {
VaadinRequest currentRequest = VaadinServletService.getCurrentRequest();
String useragentheader = currentRequest.getHeader("User-Agent").toLowerCase();
// Simply expect all chromes to support
if (useragentheader.contains("chrome")) {
if (useragentheader.contains("chrome") || useragentheader.contains("firefox")) {
return true;
}
} catch (Exception e) {
Expand Down

0 comments on commit a318d48

Please sign in to comment.