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:
parent
77ce9f1088
commit
8dcbacb196
8 changed files with 15 additions and 7 deletions
|
@ -12,7 +12,8 @@ function save(page) {
|
|||
apiClient.ajax({
|
||||
type: 'POST',
|
||||
data: JSON.stringify(config),
|
||||
url: apiClient.getUrl('Startup/RemoteAccess')
|
||||
url: apiClient.getUrl('Startup/RemoteAccess'),
|
||||
contentType: 'application/json'
|
||||
}).then(function () {
|
||||
loading.hide();
|
||||
navigateToNextPage();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue