Updated background.js to use config server as well

This commit is contained in:
Ajay Ramachandran
2019-07-13 19:15:47 -04:00
parent 598e15203b
commit a1d51656c5
6 changed files with 13 additions and 7 deletions

View File

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