Changed the server URL to use new content-config.js file.

This commit is contained in:
Ajay Ramachandran
2019-07-09 22:52:59 -04:00
parent 98115a20d3
commit 872ea9fcef
3 changed files with 3 additions and 1 deletions

View File

@@ -74,7 +74,7 @@ function sponsorsLookup(id) {
let xmlhttp = new XMLHttpRequest();
//check database for sponsor times
xmlhttp.open('GET', 'http://localhost/api/getVideoSponsorTimes?videoID=' + id, true);
xmlhttp.open('GET', serverAddresss + "/api/getVideoSponsorTimes?videoID=" + id, true);
xmlhttp.onreadystatechange = function () {
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {