diff --git a/kubernetes/servicemesh/applications/videos-web/index-v2.html b/kubernetes/servicemesh/applications/videos-web/index-v2.html index 604dd0a..1833261 100644 --- a/kubernetes/servicemesh/applications/videos-web/index-v2.html +++ b/kubernetes/servicemesh/applications/videos-web/index-v2.html @@ -75,7 +75,7 @@ if (location.hostname == "localhost"){ playlistApiUrl = "http://localhost:81/" } else { - playlistApiUrl = "http://" + location.hostname + "/api/playlists" + playlistApiUrl = "http://" + location.hostname + ":" + location.port + "/api/playlists" } var app = angular.module('videos', []); @@ -96,4 +96,4 @@ - \ No newline at end of file + diff --git a/kubernetes/servicemesh/applications/videos-web/index.html b/kubernetes/servicemesh/applications/videos-web/index.html index 8402367..8265bb5 100644 --- a/kubernetes/servicemesh/applications/videos-web/index.html +++ b/kubernetes/servicemesh/applications/videos-web/index.html @@ -72,7 +72,7 @@ if (location.hostname == "localhost"){ playlistApiUrl = "http://localhost:81/" } else { - playlistApiUrl = "http://" + location.hostname + "/api/playlists" + playlistApiUrl = "http://" + location.hostname + ":" + location.port + "/api/playlists" } var app = angular.module('videos', []); @@ -93,4 +93,4 @@ - \ No newline at end of file +