vadymmarkov/Fakery

The output link of these following methods are not Https://

hzung opened this issue · 1 comments

hzung commented

I think that would be great if these links are https or at least it has a https option

public func url() -> String {
    return "http://\(domainName())/\(username())"
  }

  public func image(width: Int = 320, height: Int = 200) -> String {
    return "http://lorempixel.com/\(width)/\(height)"
  }

  public func templateImage(width: Int = 320, height: Int = 200,
    backColorHex: String = "000000", frontColorHex: String = "ffffff") -> String {
      return "http://dummyimage.com/\(width)x\(height)/\(backColorHex)/\(frontColorHex)"
  }

Fixed here #82