Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
briangann committed Sep 23, 2024
1 parent 3a04707 commit d2d5fa2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
15 changes: 6 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,25 @@ 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
---
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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
4 changes: 2 additions & 2 deletions pkg/kiosk/config_legacy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d2d5fa2

Please sign in to comment.