Skip to content

Commit b5b62eb

Browse files
committed
Upload of track was not posible (file not found)
1 parent 75435de commit b5b62eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/configServer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ void uploadTracks(HTTPResponse *res) {
13151315
if (res) {
13161316
res->print(friendlyFileName);
13171317
}
1318-
const boolean uploaded = uploader.upload(file.name());
1318+
const boolean uploaded = uploader.upload((String("/") + file.name()));
13191319
file.close();
13201320
if (uploaded) {
13211321
moveToUploaded(fileName);

0 commit comments

Comments
 (0)