mirror of
https://github.com/caddyserver/website.git
synced 2025-04-25 22:46:16 -04:00
js: Default to linux-amd64 and fix split() call on platform (#187)
In certain cases where the platform cannot be automatically determined, we should at least populate a default so that the download page doesn't break.
This commit is contained in:
parent
5f09f05e08
commit
a7861e98f7
2 changed files with 11 additions and 8 deletions
|
@ -23,8 +23,7 @@
|
|||
<div>
|
||||
<div>
|
||||
<b>Platform:</b>
|
||||
<select size="1" id="platform">
|
||||
<option></option>
|
||||
<select size="1" id="platform" selected="linux-amd64">
|
||||
<option value="dragonfly-amd64">Dragonfly amd64</option>
|
||||
<option value="freebsd-amd64">FreeBSD amd64</option>
|
||||
<option value="freebsd-arm-6">FreeBSD arm 6</option>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue