Reintroduce 'ROOTAPI' so domain and protocol can be configured

eg. setter for api root added as comment in examples/BASIC/BASIC.ino
This commit is contained in:
John
2024-07-21 19:38:50 +12:00
parent a9d9c60dfa
commit 7b9dac756b
3 changed files with 15 additions and 6 deletions

View File

@ -126,6 +126,9 @@ void setup() {
openMetrics.setAirGradient(&ag);
localServer.setAirGraident(&ag);
/** Example set custom API root URL */
// apiClient.setApiRoot("https://example.custom.api");
/** Init sensor */
boardInit();