mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix directory browser parent path
This commit is contained in:
parent
0c696294ae
commit
e4fcafe7aa
9 changed files with 35 additions and 68 deletions
|
@ -109,6 +109,8 @@
|
|||
|
||||
if (request.dataType == 'json' || request.headers.accept == 'application/json') {
|
||||
return response.json();
|
||||
} else if (request.dataType == 'text' || (response.headers.get('Content-Type') || '').toLowerCase().indexOf('text/') == 0) {
|
||||
return response.text();
|
||||
} else {
|
||||
return response;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue