Skip to content

Commit

Permalink
Updated BeatSavior link
Browse files Browse the repository at this point in the history
  • Loading branch information
NSGolova committed Mar 21, 2022
1 parent d58ae85 commit 94e8d4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-app",
"version": "1.0.3",
"version": "1.0.4",
"private": true,
"scripts": {
"build": "rollup -c",
Expand Down
2 changes: 1 addition & 1 deletion src/network/queues/beatsavior/api-queue.js
Original file line number Diff line number Diff line change
@@ -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 = {}) => {
Expand Down

0 comments on commit 94e8d4b

Please sign in to comment.