|
@@ -87,12 +87,12 @@
|
|
|
(swap! *configs assoc :host value))}]]
|
|
(swap! *configs assoc :host value))}]]
|
|
|
|
|
|
|
|
[:label
|
|
[:label
|
|
|
- [:strong "Port (0 ~ 65536)"]
|
|
|
|
|
|
|
+ [:strong "Port (1 ~ 65535)"]
|
|
|
[:input.form-input
|
|
[:input.form-input
|
|
|
{:auto-focus true
|
|
{:auto-focus true
|
|
|
:value port
|
|
:value port
|
|
|
:min "1"
|
|
:min "1"
|
|
|
- :max "65536"
|
|
|
|
|
|
|
+ :max "65535"
|
|
|
:type "number"
|
|
:type "number"
|
|
|
:on-change #(let [value (.-value (.-target %))]
|
|
:on-change #(let [value (.-value (.-target %))]
|
|
|
(swap! *configs assoc :port value))}]]]
|
|
(swap! *configs assoc :port value))}]]]
|