Migrating to workers, renaming service
This commit is contained in:
parent
850584ff36
commit
a6cd5f4266
29 changed files with 5542 additions and 611 deletions
|
@ -6,7 +6,7 @@ import 'superagent-bluebird-promise';
|
|||
import debuglog from 'debug';
|
||||
import urlMatch from './url';
|
||||
|
||||
const debug = debuglog('match.audio:youtube');
|
||||
const debug = debuglog('combine.fm:youtube');
|
||||
|
||||
if (!process.env.YOUTUBE_KEY) {
|
||||
debug('YOUTUBE_KEY environment variable not found, deactivating Youtube.');
|
||||
|
@ -19,7 +19,7 @@ const credentials = {
|
|||
const apiRoot = 'https://www.googleapis.com/youtube/v3';
|
||||
|
||||
const nodebrainz = new Nodebrainz({
|
||||
userAgent: 'match-audio ( https://match.audio )',
|
||||
userAgent: 'combine.fm ( https://combine.fm )',
|
||||
defaultLimit: 10,
|
||||
retryOn: true,
|
||||
retryDelay: 3000,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue