From baf794590911fe12171eadd3d7ea7ccaa6b9598a Mon Sep 17 00:00:00 2001 From: Dysantic <59625986+Dysantic@users.noreply.github.com> Date: Sun, 30 Jun 2024 23:19:25 -0400 Subject: [PATCH] Update SNET.js - Corrected API hostname As per "Games not updating #90", the hostname for the ticker API was changed by Sportsnet from "mobile-statsv2.sportsnet.ca" to "stats-api.sportsnet.ca". This pull request fixes that. --- providers/SNET.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/providers/SNET.js b/providers/SNET.js index 65befdb..9fd150c 100644 --- a/providers/SNET.js +++ b/providers/SNET.js @@ -14,7 +14,7 @@ All sports are provided in a single feed at - https://mobile-statsv2.sportsnet.ca/ticker + https://stats-api.sportsnet.ca/ticker The feed takes one parameter: @@ -109,7 +109,7 @@ module.exports = { // console.log("Get SNET JSON"); var self = this; - var url = "https://mobile-statsv2.sportsnet.ca/ticker?day=" + this.gameDate.format("YYYY-MM-DD"); + var url = "https://stats-api.sportsnet.ca/ticker?day=" + this.gameDate.format("YYYY-MM-DD"); axios.get(url) @@ -426,4 +426,4 @@ module.exports = { } -}; \ No newline at end of file +};