Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix dup issue in 1.8

  • Loading branch information...
commit e156c031a81de7dadae221ec92bfd926b9813aeb 1 parent ca0c9b2
@seejohnrun authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/haste.rb
View
2  lib/haste.rb
@@ -43,7 +43,7 @@ def start
def server
return @server if @server
- @server = ENV['HASTE_SERVER'].dup || Haste::DEFAULT_URL
+ @server = (ENV['HASTE_SERVER'] || Haste::DEFAULT_URL).dup
@server.chop! if server.end_with?('/')
@server
end
Please sign in to comment.
Something went wrong with that request. Please try again.