Skip to content

Commit

Permalink
Merge pull request #18 from plaes/misc
Browse files Browse the repository at this point in the history
Fix invalid yaml configuration example
  • Loading branch information
Dirbaio authored Dec 7, 2023
2 parents 6e97b09 + ef3a574 commit 172bd37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ teleprobe server
```

The server listens on port `8080` by default, this can be changed via the `--port XX` option.
Logging verbosity can be adjusted via `RUST_LOG` environment variable.

#### Configuration
Server configuration is stored in a file called `config.yaml`. It contains both configuration of authentication (bearer tokens or OIDC) and definition of targets.
Expand Down
4 changes: 2 additions & 2 deletions teleprobe/config_example.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
auths:
- oidc:
- !oidc
issuer: https://token.actions.githubusercontent.com
rules:
- claims:
iss: https://token.actions.githubusercontent.com
aud: https://github.com/embassy-rs
repository: embassy-rs/embassy
- token:
- !token
token: hN6e2msKlqsW9smsjyF5I7xmiuPQij0O
targets:
- name: nucleo-stm32f429zi
Expand Down

0 comments on commit 172bd37

Please sign in to comment.