mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
support api without /mediabrowser
This commit is contained in:
parent
3ee2a15358
commit
248c09b642
4 changed files with 20 additions and 19 deletions
|
@ -49,7 +49,7 @@
|
|||
|
||||
self.apiPrefix = function () {
|
||||
|
||||
return "/mediabrowser";
|
||||
return "";
|
||||
};
|
||||
|
||||
self.serverInfo = function (info) {
|
||||
|
@ -189,7 +189,7 @@
|
|||
$.ajax({
|
||||
|
||||
type: "GET",
|
||||
url: url + "/mediabrowser/system/info/public",
|
||||
url: url + "/system/info/public",
|
||||
dataType: "json",
|
||||
|
||||
timeout: 15000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue