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 = {}) => {