mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
feat(api): custom spotify crawler interval
This commit is contained in:
parent
97f5ef70ac
commit
66fd6ce1b4
6 changed files with 46 additions and 4 deletions
|
|
@ -23,7 +23,7 @@ import { ConfigModule as NestConfigModule } from "@nestjs/config";
|
|||
// Spotify
|
||||
SPOTIFY_CLIENT_ID: Joi.string().required(),
|
||||
SPOTIFY_CLIENT_SECRET: Joi.string().required(),
|
||||
SPOTIFY_FETCH_INTERVAL_MS: Joi.number().default(5 * 60 * 1000),
|
||||
SPOTIFY_FETCH_INTERVAL_SEC: Joi.number().default(60),
|
||||
SPOTIFY_WEB_API_URL: Joi.string().default("https://api.spotify.com/"),
|
||||
SPOTIFY_AUTH_API_URL: Joi.string().default(
|
||||
"https://accounts.spotify.com/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue