File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ type Config struct {
23
23
LocalAuthMode string `json:"localAuthMode"` //TODO: fix it with migration
24
24
WakeOnLanDevices []WakeOnLanDevice `json:"wake_on_lan_devices"`
25
25
DisplayMaxBrightness int `json:"display_max_brightness"`
26
- DisplayDimAfterMs int64 `json:"display_dim_after_ms "`
27
- DisplayOffAfterMs int64 `json:"display_off_after_ms "`
26
+ DisplayDimAfterSec int `json:"display_dim_after_sec "`
27
+ DisplayOffAfterSec int `json:"display_off_after_sec "`
28
28
EdidString string `json:"hdmi_edid_string"`
29
29
}
30
30
@@ -34,8 +34,8 @@ var defaultConfig = &Config{
34
34
CloudURL : "https://api.jetkvm.com" ,
35
35
AutoUpdateEnabled : true , // Set a default value
36
36
DisplayMaxBrightness : 64 ,
37
- DisplayDimAfterMs : 120000 , // 2 minutes
38
- DisplayOffAfterMs : 1800000 , // 30 minutes
37
+ DisplayDimAfterSec : 120 , // 2 minutes
38
+ DisplayOffAfterSec : 1800 , // 30 minutes
39
39
}
40
40
41
41
var config * Config
You can’t perform that action at this time.
0 commit comments