Skip to content

Commit 648342d

Browse files
authored
Fixed the public scope of the static parameter and static function of Scheme components (#32)
1 parent 1736274 commit 648342d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Sources/APIRouter/URLBuilder.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,15 @@ public extension URL {
6969
public struct Scheme: HttpUrlProtocol {
7070
private let scheme: URLScheme
7171

72-
static let http = Self(.http)
72+
public static let http = Self(.http)
7373

74-
static let https = Self(.https)
74+
public static let https = Self(.https)
7575

76-
static let mqtt = Self(.mqtt)
76+
public static let mqtt = Self(.mqtt)
7777

78-
static let mqtts = Self(.mqtts)
78+
public static let mqtts = Self(.mqtts)
7979

80-
static func custom(_ value: String) -> Self {
80+
public static func custom(_ value: String) -> Self {
8181
Self(.custom(value))
8282
}
8383

0 commit comments

Comments
 (0)