Merge branch 'master' into daemonsets

This commit is contained in:
marcel-dempers 2021-05-02 12:59:10 +10:00
commit 2877ef0188
2 changed files with 4 additions and 4 deletions

View File

@ -75,7 +75,7 @@
if (location.hostname == "localhost"){ if (location.hostname == "localhost"){
playlistApiUrl = "http://localhost:81/" playlistApiUrl = "http://localhost:81/"
} else { } else {
playlistApiUrl = "http://" + location.hostname + "/api/playlists" playlistApiUrl = "http://" + location.hostname + ":" + location.port + "/api/playlists"
} }
var app = angular.module('videos', []); var app = angular.module('videos', []);

View File

@ -72,7 +72,7 @@
if (location.hostname == "localhost"){ if (location.hostname == "localhost"){
playlistApiUrl = "http://localhost:81/" playlistApiUrl = "http://localhost:81/"
} else { } else {
playlistApiUrl = "http://" + location.hostname + "/api/playlists" playlistApiUrl = "http://" + location.hostname + ":" + location.port + "/api/playlists"
} }
var app = angular.module('videos', []); var app = angular.module('videos', []);