Permalink
Browse files

tweaked server connection.

  • Loading branch information...
1 parent 6dcc39d commit aad3db9d175f4a28b47271e9e54884d449974700 @FRickReich FRickReich committed Sep 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 weaky.rb
View
@@ -5,7 +5,7 @@
require 'haml'
require 'sass'
-$weaky = CouchRest.database!('http://localhost:5984/weaky')
+$weaky = CouchRest.database!("http://#{ARGV[0].to_s.gsub("http://","")}")
class Item < CouchRest::ExtendedDocument
use_database $weaky

0 comments on commit aad3db9

Please sign in to comment.