mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
use custom provider
This commit is contained in:
parent
cea6987f72
commit
2fe064e68a
@ -2,8 +2,8 @@ import findSpotifyId from "@services/findSpotifyId"
|
|||||||
import { Track } from "@shared-classes/DbModels"
|
import { Track } from "@shared-classes/DbModels"
|
||||||
import axios from "axios"
|
import axios from "axios"
|
||||||
|
|
||||||
const syncLyricsProvider = `https://spotify-lyric-api.herokuapp.com`
|
const syncLyricsProvider = process.env.LYRICS_SYNC_PROVIDER || `https://spotify-lyric-api.herokuapp.com`
|
||||||
const canvasProvider = `https://api.delitefully.com/api/canvas`
|
const canvasProvider = process.env.LYRICS_CANVAS_PROVIDER || `https://c_cdn-test.ragestudio.net/api/canvas`
|
||||||
|
|
||||||
export default async (track, { req }) => {
|
export default async (track, { req }) => {
|
||||||
if (typeof track !== "object") {
|
if (typeof track !== "object") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user