diff --git a/src/prefix/config.cr b/src/prefix/config.cr index 4faa9d3..8b76879 100644 --- a/src/prefix/config.cr +++ b/src/prefix/config.cr @@ -1,7 +1,7 @@ struct Prefix::Config getter sources : Hash(String, String) { data["sources"].as_h.transform_values &.as_s } getter host : String { data["host"].as_s } - getter port : String { data["port"].as_s } + getter port : Int32 { data["port"].as_i } getter data : CON::Any def initialize(content : String)