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