add a default lidarr url environment variable to actually match the readme.
This commit is contained in:
parent
74cd40f41a
commit
ef1715a340
|
@ -3,7 +3,7 @@ import fetch from 'node-fetch';
|
|||
|
||||
config();
|
||||
|
||||
let lidarrUrl = process.env.LIDARR_URL;
|
||||
let lidarrUrl = process.env.LIDARR_URL || `http://localhost:8686`;
|
||||
if (lidarrUrl.endsWith(`/`))
|
||||
lidarrUrl = lidarrUrl.slice(0, -1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue