Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit a85d7f0

Browse files
committed
Add FreeBSD epiphany detection. Fixes #692
1 parent 678521b commit a85d7f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_includes/rustup.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ function detect_platform() {
3333
if (os == "unknown") {
3434
if (navigator.appVersion.indexOf("Win")!=-1) {os = "win";}
3535
if (navigator.appVersion.indexOf("Mac")!=-1) {os = "unix";}
36+
// rust-www/#692 - FreeBSD epiphany!
37+
if (navigator.appVersion.indexOf("FreeBSD")!=-1) {os = "unix";}
3638
}
3739

3840
return os;

0 commit comments

Comments
 (0)