Update config-related docs
This commit is contained in:
parent
03e2666958
commit
9865441a56
2 changed files with 4 additions and 3 deletions
|
@ -5,8 +5,8 @@ import { match as urlMatch } from './url';
|
|||
|
||||
export let id = 'rdio';
|
||||
|
||||
if (!process.env.RDIO_CLIENT_ID || !process.env.RDIO_CLIENT_SECRET || !process.env.RDIO_REFRESH_TOKEN) {
|
||||
console.warn('RDIO_CLIENT_ID, RDIO_REFRESH_TOKEN or RDIO_CLIENT_SECRET environment constiables not found, deactivating Rdio.');
|
||||
if (!process.env.RDIO_CLIENT_ID || !process.env.RDIO_CLIENT_SECRET) {
|
||||
console.warn('RDIO_CLIENT_ID or RDIO_CLIENT_SECRET environment constiables not found, deactivating Rdio.');
|
||||
}
|
||||
|
||||
const Rdio = rdioInit({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue