refactor: error handling return exception message

This commit is contained in:
Juan Rodriguez
2024-05-13 09:22:36 +02:00
parent 9564559610
commit b20417d579
7 changed files with 26 additions and 27 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
require "kemal"
Kemal.config.env = ENV["ENV"]? || "development"
Kemal.config.port = ENV["PORT"]?.try(&.to_i) || 3000
Kemal.config.port = ENV["PORT"]?.try(&.to_i) || 4000
Kemal.config.host_binding = ENV["HOST"]? || "0.0.0.0"