Added Tpye instead map #1
No reviewers
Labels
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xsteadfastx/jellyfixer#1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "Koma-Andrea/jellyfixer:typeinsteadmap"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've Added a Type instead of the map which will not work with boolean to be unmarshalled.
I'm also using JELLYFIN_URL as environment variable instead of removing the value. I found that this works better in various scenario.
@ -68,3 +72,1 @@
return
}
url := os.Getenv("JELLYFIN_URL")
is this needed? cant we use the baseurl?
The JELLYFIN_URL is the external URL, while the baseurl (that you pick as an argument) is the jellyfin container's name.
I would also suggest to pick both values as environment values or to use both named arguments and environment values.
will merge this today. i will add viper and make it use config files and or environment variables.