mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-06 17:01:30 +00:00
Add location.port to indexes in case application is on non-standard port
Signed-off-by: John Fortin <fortinj66@gmail.com>
This commit is contained in:
parent
dcd35c6b70
commit
99c045a799
@ -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', []);
|
||||
|
@ -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', []);
|
||||
|
Loading…
x
Reference in New Issue
Block a user