Add base url to config

This commit is contained in:
Alex Ling 2020-05-23 10:42:39 +00:00
parent d4e523c337
commit 8658cb8306

View File

@ -4,6 +4,7 @@ class Config
include YAML::Serializable include YAML::Serializable
property port : Int32 = 9000 property port : Int32 = 9000
property base_url : String = "/"
property library_path : String = File.expand_path "~/mango/library", property library_path : String = File.expand_path "~/mango/library",
home: true home: true
property db_path : String = File.expand_path "~/mango/mango.db", home: true property db_path : String = File.expand_path "~/mango/mango.db", home: true