feat(esp32): add user-agent string to requests to api aggregator
This commit is contained in:
parent
c5e76aca34
commit
21e260e7cd
1 changed files with 1 additions and 0 deletions
|
@ -282,6 +282,7 @@ bool updateMap() {
|
|||
client.println(" HTTP/1.0");
|
||||
client.print("Host: ");
|
||||
client.println(SPACEAPI_HOST);
|
||||
client.println("User-Agent: spaceapimap (https://git.kabelsalat.ch/s3lph/spaceapi-led-map/)");
|
||||
client.println("Connection: close");
|
||||
client.println();
|
||||
// Read until empty line (HTTP header/body separator)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue