mirror of
https://github.com/easychen/pushdeer.git
synced 2025-04-30 16:29:51 +08:00
add redirect
This commit is contained in:
parent
3fa3d73859
commit
0ec3bbc7cc
@ -133,6 +133,7 @@ bool file_put_contents(String url, String filename) {
|
||||
|
||||
WiFiClient client;
|
||||
HTTPClient http;
|
||||
http.setFollowRedirects(HTTPC_STRICT_FOLLOW_REDIRECTS);
|
||||
http.begin(client, url);
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user