1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add application/json as content type for JSON requests

This commit is contained in:
Claus Vium 2020-08-31 15:48:24 +02:00
parent 77ce9f1088
commit 8dcbacb196
8 changed files with 15 additions and 7 deletions

View file

@ -48,7 +48,8 @@ import libraryMenu from 'libraryMenu';
data: JSON.stringify({
Path: form.querySelector('.txtEncoderPath').value,
PathType: 'Custom'
})
}),
contentType: 'application/json'
}).then(Dashboard.processServerConfigurationUpdateResult, onSaveEncodingPathFailure);
});
}