mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-06 17:01:30 +00:00
Merge pull request #76 from fortinj66/master
Add location.port to indexes in case application is on non-standard ports
This commit is contained in:
commit
d64c813018
@ -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', []);
|
||||||
|
@ -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', []);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user