From 94e8d4b6867bc1bc8e50677508242886097cdf43 Mon Sep 17 00:00:00 2001 From: NSGolova Date: Mon, 21 Mar 2022 17:23:06 +0000 Subject: [PATCH] Updated BeatSavior link --- netlify.toml | 2 +- package.json | 2 +- src/network/queues/beatsavior/api-queue.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/netlify.toml b/netlify.toml index 776275f11..6a489aeaf 100644 --- a/netlify.toml +++ b/netlify.toml @@ -6,7 +6,7 @@ [[redirects]] from = "/cors/beat-savior/*" - to = "https://www.beatsavior.io/api/livescores/player/:splat" + to = "https://beat-savior.herokuapp.com/api/livescores/player/:splat" status = 200 force = true headers = {X-From = "Netlify"} diff --git a/package.json b/package.json index c065a6edc..f4f5dc815 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "svelte-app", - "version": "1.0.3", + "version": "1.0.4", "private": true, "scripts": { "build": "rollup -c", diff --git a/src/network/queues/beatsavior/api-queue.js b/src/network/queues/beatsavior/api-queue.js index 4adaef650..882faf300 100644 --- a/src/network/queues/beatsavior/api-queue.js +++ b/src/network/queues/beatsavior/api-queue.js @@ -1,7 +1,7 @@ import {default as createQueue, PRIORITY} from '../http-queue'; import {substituteVars} from "../../../utils/format"; -const BEATSAVIOR_API_URL = 'https://www.beatsavior.io/api/livescores/player'; +const BEATSAVIOR_API_URL = 'https://beat-savior.herokuapp.com/api/livescores/player'; const PLAYER_URL = BEATSAVIOR_API_URL + '/${playerId}'; export default (options = {}) => {