From d184d6fba5b3c2ed6cfe1763196f4302d2326463 Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Tue, 21 Jul 2020 17:20:40 +0000 Subject: [PATCH] Expand path by home --- src/config.cr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.cr b/src/config.cr index 27ec3f2..0d1d736 100644 --- a/src/config.cr +++ b/src/config.cr @@ -16,7 +16,8 @@ class Config property log_level : String = "info" property upload_path : String = File.expand_path "~/mango/uploads", home: true - property plugin_path : String = File.expand_path "~/mango/plugins" + property plugin_path : String = File.expand_path "~/mango/plugins", + home: true property mangadex = Hash(String, String | Int32).new @[YAML::Field(ignore: true)]