diff --git a/CHANGELOG.md b/CHANGELOG.md index d0cbc5b..cd4d0f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ general: gpu-enabled: false ``` - - debug output to assist with setting up kiosk for first time (default: false) +- debug output to assist with setting up kiosk for first time (default: false) ```YAML --- @@ -23,20 +23,17 @@ general: debug: true ``` - - start-maximized (default: true) - - start-fullscreen (default: true) - +- start-maximized (default: true) +- start-fullscreen (default: true) chromedp.Flag("start-fullscreen", true), - chromedp.Flag("start-maximized", true), - + chromedp.Flag("start-maximized", true), - - PageLoadDelayMS, delay can be set to extend timeout to websocket (default: 2000) - (verified working) +- PageLoadDelayMS, delay can be set to extend timeout to websocket (default: 2000)(verified working) - Fixes: - `--kiosk` toggle to fix for latest chrome/bookworm (default: true) - chromedp.Flag("kiosk", true), + chromedp.Flag("kiosk", true), incognito toggle diff --git a/README.md b/README.md index 46fd389..7045038 100644 --- a/README.md +++ b/README.md @@ -187,7 +187,7 @@ They can also be used instead of a configuration file. KIOSK_IDTOKEN_KEYFILE string JSON Credentials for idtoken (default "key.json") KIOSK_IDTOKEN_AUDIENCE string - Audience for idtoken, tpyically your oauth client id + Audience for idtoken, typically your oauth client id KIOSK_APIKEY_APIKEY string APIKEY Generated in Grafana Server ``` diff --git a/pkg/kiosk/config_legacy.go b/pkg/kiosk/config_legacy.go index 69b4d47..cbb9aa1 100644 --- a/pkg/kiosk/config_legacy.go +++ b/pkg/kiosk/config_legacy.go @@ -10,7 +10,7 @@ type ConfigLegacy struct { APIKey LegacyAPIKey `yaml:"apikey"` } -// LegacyGeneral non-site specific configuations +// LegacyGeneral non-site specific configurations type LegacyGeneral struct { AutoFit bool `yaml:"autofit" env:"KIOSK_AUTOFIT" env-default:"true" env-description:"fit panels to screen"` DebugEnabled bool `yaml:"debug" env:"KIOSK_DEBUG" env-default:"false" env-description:"enables debug output"` @@ -46,7 +46,7 @@ type LegacyGoAuth struct { // LegacyIDToken token based login type LegacyIDToken struct { KeyFile string `yaml:"idtoken-keyfile" env:"KIOSK_IDTOKEN_KEYFILE" env-default:"key.json" env-description:"JSON Credentials for idtoken"` - Audience string `yaml:"idtoken-audience" env:"KIOSK_IDTOKEN_AUDIENCE" env-description:"Audience for idtoken, tpyically your oauth client id"` + Audience string `yaml:"idtoken-audience" env:"KIOSK_IDTOKEN_AUDIENCE" env-description:"Audience for idtoken, typically your oauth client id"` } // LegacyAPIKey APIKey for login