Skip to content

Commit

Permalink
Update www platform detection for FreeBSD. Fixes #380
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed May 5, 2016
1 parent 54a3ca7 commit e5484b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions www/rustup.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ function detect_platform() {
if (navigator.platform == "Linux armv7l") {os = "unix";}
if (navigator.platform == "Win32") {os = "win";}
if (navigator.platform == "FreeBSD x86_64") {os = "unix";}
if (navigator.platform == "FreeBSD amd64") {os = "unix";}

if (navigator.platform == "Linux armv7l"
&& navigator.appVersion.indexOf("Android") != -1 ) {
Expand Down

0 comments on commit e5484b0

Please sign in to comment.