Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
hwangsihu committed Oct 8, 2024
1 parent 56f095e commit ff4f0d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ DATABASE_URL="" # Your database url (If you want to use sqlite, then you can lea
AUTO_NODE=="false" # true for auto node. It is given from lavainfo-api (https://lavainfo-api.deno.dev).
SEARCH_ENGINE="YouTubeMusic" # Search engine to be used when playing the song. You can use: YouTube, YouTubeMusic, SoundCloud, Spotify, Apple, Deezer, Yandex and JioSaavn
GENIUS_API="" # Sign up and get your own api at (https://genius.com/) to fetch your lyrics (CLIENT TOKEN)
NODES=[{"id":"Local Node","host":"localhost","port":2333,"authorization":"youshallnotpass","retryAmount":5,"retryDelay":60000,"secure":"false"}]
NODES=[{"id":"Local Node","host":"localhost","port":2333,"authorization":"youshallnotpass","secure":false,"retryAmount":5,"retryDelay":60000}]
2 changes: 1 addition & 1 deletion src/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const LavalinkNodeSchema = z.object({
host: z.string(),
port: z.number(),
authorization: z.string(),
secure: z.preprocess(val => (val === 'true' || val === 'false' ? val === 'true' : val), z.boolean().optional()),
secure: z.boolean().optional(),
sessionId: z.string().optional(),
regions: z.string().array().optional(),
retryAmount: z.number().optional(),
Expand Down

0 comments on commit ff4f0d8

Please sign in to comment.