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

revise endpoint attributes

This commit is contained in:
Luke Pulverenti 2014-11-14 21:31:03 -05:00
parent 1d9dc3acfd
commit b06fdda96d
13 changed files with 91 additions and 111 deletions

View file

@ -4,7 +4,9 @@
var page = this;
ApiClient.getJSON(ApiClient.getUrl('System/Logs')).done(function (logs) {
var apiClient = ApiClient;
apiClient.getJSON(apiClient.getUrl('System/Logs')).done(function (logs) {
var html = '';
@ -12,9 +14,12 @@
html += logs.map(function (log) {
var logUrl = ApiClient.getUrl('System/Logs/Log', {
var logUrl = apiClient.getUrl('System/Logs/Log', {
name: log.Name
});
logUrl += "&api_key=" + apiClient.accessToken();
var logHtml = '<li><a href="' + logUrl + '" target="_blank">';
logHtml += '<h3>';