Browse Source

Fixing HTTPBin URLString

Mattt Thompson 11 years ago
parent
commit
cdf8212d09
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Example/HTTPBin.swift

+ 1 - 1
Example/HTTPBin.swift

@@ -38,7 +38,7 @@ enum HTTPBinRoute: URLStringConvertible {
             }
         }()
 
-        return baseURLString.stringByAppendingPathComponent(path)
+        return NSURL(string: path, relativeToURL: NSURL(string: baseURLString)).absoluteString!
     }
 }