httpUpload WDT -> yield
This commit is contained in:
parent
2652de5cb8
commit
556f277016
@ -127,6 +127,7 @@ void httpSet() {
|
||||
}
|
||||
|
||||
void httpUpload(const char *name) {
|
||||
yield();
|
||||
const auto upload = server.upload();
|
||||
if (upload.status == UPLOAD_FILE_START) {
|
||||
char path[64];
|
||||
|
||||
@ -4,9 +4,9 @@ cd "$(dirname "$0")" || exit 1
|
||||
|
||||
minify index.html | sed 's|http://10.42.0.204||g' > index.html.min || exit 2
|
||||
|
||||
curl -s 'http://10.42.0.204/upload/index' -F "file=@index.html.min"
|
||||
curl -s 'http://10.42.0.204/upload/icon' -F "file=@icon.svg"
|
||||
#curl -s 'http://10.42.0.204/upload/index' -F "file=@index.html.min"
|
||||
#curl -s 'http://10.42.0.204/upload/icon' -F "file=@icon.svg"
|
||||
#curl -s 'http://10.0.0.178/upload/index' -F "file=@index.html.min"
|
||||
#curl -s 'http://10.0.0.178/upload/icon' -F "file=@icon.svg"
|
||||
#curl -s 'http://10.0.0.179/upload/index' -F "file=@index.html.min"
|
||||
#curl -s 'http://10.0.0.179/upload/icon' -F "file=@icon.svg"
|
||||
curl -s 'http://10.0.0.179/upload/index' -F "file=@index.html.min"
|
||||
curl -s 'http://10.0.0.179/upload/icon' -F "file=@icon.svg"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user