Skip to content

Commit

Permalink
Upload of track was not posible (file not found)
Browse files Browse the repository at this point in the history
  • Loading branch information
amandel committed Aug 26, 2022
1 parent 75435de commit b5b62eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1315,7 +1315,7 @@ void uploadTracks(HTTPResponse *res) {
if (res) {
res->print(friendlyFileName);
}
const boolean uploaded = uploader.upload(file.name());
const boolean uploaded = uploader.upload((String("/") + file.name()));
file.close();
if (uploaded) {
moveToUploaded(fileName);
Expand Down

0 comments on commit b5b62eb

Please sign in to comment.