Skip to content

Commit 47aedaa

Browse files
committed
1186: Updated example_config.json value
1 parent 0e8046f commit 47aedaa

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ See [https://github.com/os2display/display-docs/blob/main/client.md](https://git
55

66
## Config
77
The client can be configured by creating `public/config.json` with relevant values.
8-
See `public/example_config.json` for values.
8+
See `public/example_config.json` for example values.
99

1010
Values explained:
1111

12-
* apiEndpoint - The endpoint where the API can be called.
12+
* apiEndpoint - The endpoint where the API is located.
1313
* loginCheckTimeout - How often (milliseconds) should the screen check for
1414
status when it is not logged in, and waiting for being activated in the
1515
administration.
@@ -28,7 +28,7 @@ screen be checked.
2828
* debug - Should the screen be in debug mode? If true, the cursor will be
2929
invisible.
3030

31-
All endpoint should be configured with out a trailing slash. The endpoints `apiEndpoint` and `dataStrategy.config.endpoint` can be
31+
All endpoint should be configured without a trailing slash. The endpoints `apiEndpoint` can be
3232
left empty if the api is hosted from the root of the same domain as the client. E.g. if the api is at https://example.org and the client is at
3333
https://example.org/client
3434

public/example_config.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"apiEndpoint": "",
2+
"apiEndpoint": "https://os2display.example.org",
33
"loginCheckTimeout": 20000,
44
"configFetchInterval": 90000,
55
"refreshTokenTimeout": 900000,
@@ -16,5 +16,11 @@
1616
"lng": 10.0
1717
},
1818
"schedulingInterval": 60000,
19-
"debug": false
19+
"debug": false,
20+
"logging": [
21+
{
22+
"transport": "console",
23+
"level": "info"
24+
}
25+
]
2026
}

0 commit comments

Comments
 (0)