mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 11:25:29 -04:00
Remove unnecessary type restrictions in config
This commit is contained in:
parent
84168b4f53
commit
b3ea3c6154
@ -4,20 +4,20 @@ class Config
|
|||||||
include YAML::Serializable
|
include YAML::Serializable
|
||||||
|
|
||||||
@[YAML::Field(ignore: true)]
|
@[YAML::Field(ignore: true)]
|
||||||
property path : String = ""
|
property path = ""
|
||||||
property host : String = "0.0.0.0"
|
property host = "0.0.0.0"
|
||||||
property port : Int32 = 9000
|
property port : Int32 = 9000
|
||||||
property base_url : String = "/"
|
property base_url = "/"
|
||||||
property session_secret : String = "mango-session-secret"
|
property session_secret = "mango-session-secret"
|
||||||
property library_path : String = "~/mango/library"
|
property library_path = "~/mango/library"
|
||||||
property library_cache_path = "~/mango/library.yml.gz"
|
property library_cache_path = "~/mango/library.yml.gz"
|
||||||
property db_path : String = "~/mango/mango.db"
|
property db_path = "~/mango/mango.db"
|
||||||
property queue_db_path : String = "~/mango/queue.db"
|
property queue_db_path = "~/mango/queue.db"
|
||||||
property scan_interval_minutes : Int32 = 5
|
property scan_interval_minutes : Int32 = 5
|
||||||
property thumbnail_generation_interval_hours : Int32 = 24
|
property thumbnail_generation_interval_hours : Int32 = 24
|
||||||
property log_level : String = "info"
|
property log_level = "info"
|
||||||
property upload_path : String = "~/mango/uploads"
|
property upload_path = "~/mango/uploads"
|
||||||
property plugin_path : String = "~/mango/plugins"
|
property plugin_path = "~/mango/plugins"
|
||||||
property download_timeout_seconds : Int32 = 30
|
property download_timeout_seconds : Int32 = 30
|
||||||
property cache_enabled = false
|
property cache_enabled = false
|
||||||
property cache_size_mbs = 50
|
property cache_size_mbs = 50
|
||||||
|
Loading…
x
Reference in New Issue
Block a user