Skip to content

Commit

Permalink
fix: fixes issue starting application in production mode
Browse files Browse the repository at this point in the history
I haven't observed these all that recently and these fixes are temporary until
I have time to look properly.
  • Loading branch information
adamcooke committed Feb 3, 2024
1 parent 96ba4b8 commit 4528a14
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/initializers/inflections.rb
Expand Up @@ -20,6 +20,7 @@

inflect.acronym "API"
inflect.acronym "DNS"
inflect.acronym "MySQL"

inflect.acronym "DB"
inflect.acronym "IP"
Expand Down
3 changes: 3 additions & 0 deletions lib/postal/config.rb
Expand Up @@ -9,6 +9,9 @@

module Postal

class Config
end

def self.host
@host ||= config.web.host || "localhost:5000"
end
Expand Down
2 changes: 2 additions & 0 deletions lib/postal/version.rb
Expand Up @@ -11,4 +11,6 @@ def self.version
VERSION
end

Version = VERSION

end

0 comments on commit 4528a14

Please sign in to comment.