diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-05-01 16:04:14 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-05-01 16:04:14 +0100 |
commit | 2e5b3be3a89e54a986608c37d1093e17356b7e5c (patch) | |
tree | ffcfde2641cea9d928a595d1a926aad454d61223 /lib/mauve/server.rb | |
parent | e35751990d09040af431104c5aa64d2ca9b26365 (diff) |
Set default hostname to Socket.gethostname, and default base_url now includes
the port, if it is not port 80
Diffstat (limited to 'lib/mauve/server.rb')
-rw-r--r-- | lib/mauve/server.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/server.rb b/lib/mauve/server.rb index 0bbfdfb..52933ea 100644 --- a/lib/mauve/server.rb +++ b/lib/mauve/server.rb @@ -36,7 +36,7 @@ module Mauve # def initialize super - @hostname = "localhost" + @hostname = Socket.gethostname @database = "sqlite3::memory:" @started_at = Time.now |