File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ See [https://github.com/os2display/display-docs/blob/main/client.md](https://git
55
66## Config
77The 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
1010Values 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
1414status when it is not logged in, and waiting for being activated in the
1515administration.
@@ -28,7 +28,7 @@ screen be checked.
2828* debug - Should the screen be in debug mode? If true, the cursor will be
2929invisible.
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
3232left 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
3333https://example.org/client
3434
Original file line number Diff line number Diff line change 11{
2- "apiEndpoint" : " " ,
2+ "apiEndpoint" : " https://os2display.example.org " ,
33 "loginCheckTimeout" : 20000 ,
44 "configFetchInterval" : 90000 ,
55 "refreshTokenTimeout" : 900000 ,
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}
You can’t perform that action at this time.
0 commit comments