forked from airgradienthq/arduino
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:
1 parent
a9d9c60dfa
commit
7b9dac756b
3 files changed
+15
-6
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user