Permalink
Browse files

We can't use www at the moment, as it redirects.

  • Loading branch information...
1 parent a9ba034 commit 975ef302570d62cb8f52aedbfd9699c744eb7032 @mattwynne mattwynne committed Sep 1, 2011
Showing with 4 additions and 4 deletions.
  1. +3 −3 lib/relish.rb
  2. +1 −1 lib/relish/commands/base.rb
View
@@ -1,6 +1,6 @@
module Relish
class << self
-
+
def self.setting(name, value)
attr_writer name
class_eval %{
@@ -11,10 +11,10 @@ def #{name} # def global_options_file
end # end
}
end
-
+
setting :global_options_file, File.join(File.expand_path('~'), '.relish')
setting :local_options_file, '.relish'
- setting :default_host, 'www.relishapp.com'
+ setting :default_host, 'api.relishapp.com'
end
end
@@ -28,7 +28,7 @@ def initialize(args = [])
end
def url
- "http://#{host}/api"
+ "https://#{host}/api"
end
def get_param

0 comments on commit 975ef30

Please sign in to comment.