Skip to content

Commit

Permalink
Update Region+Tools.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
rafiki270 authored May 13, 2019
1 parent b1aae37 commit a8286ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/S3/Extensions/Region+Tools.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
//

import Foundation
import Core
@_exported import S3Signer


extension Region {

/// Get S3 URL string for bucket
public func urlString(bucket: String) -> String {
return host + bucket
return host.finished(with: "/") + bucket
}

/// Get S3 URL for bucket
Expand Down

0 comments on commit a8286ca

Please sign in to comment.