From 2e5b3be3a89e54a986608c37d1093e17356b7e5c Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Tue, 1 May 2012 16:04:14 +0100 Subject: Set default hostname to Socket.gethostname, and default base_url now includes the port, if it is not port 80 --- lib/mauve/server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/mauve/server.rb') 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 -- cgit v1.2.1