lib/dropbox-sign/configuration.rb in dropbox-sign-1.1.1 vs lib/dropbox-sign/configuration.rb in dropbox-sign-1.1.2
- old
+ new
@@ -240,10 +240,10 @@
# Returns an array of Server setting
def server_settings
[
{
- url: "#{scheme}://#{host}/#{base_path}",
+ url: "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, ''),
description: "No description provided",
}
]
end