Skip to content

Commit 881b206

Browse files
authored
Merge pull request #665 from zapcannon87/develop
chore: tweak code
2 parents 511afb6 + 3e43604 commit 881b206

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

AVOS/Sources/Foundation/LCApplication.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ NS_ASSUME_NONNULL_BEGIN
166166

167167
@property (nonatomic, readonly) NSString *identifier;
168168
@property (nonatomic, readonly) NSString *key;
169+
@property (nonatomic, readonly) NSString *serverURLString;
169170
@property (nonatomic, copy, nullable) NSString *RTMServer;
170171

171172
- (void)setWithIdentifier:(NSString *)identifier key:(NSString *)key;

AVOS/Sources/Foundation/LCApplication.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,10 @@ + (instancetype)defaultApplication {
184184
return instance;
185185
}
186186

187+
- (NSString *)serverURLString {
188+
return [LCRouter serverURLString];
189+
}
190+
187191
- (void)setWithIdentifier:(NSString *)identifier key:(NSString *)key {
188192
_identifier = [identifier copy];
189193
_key = [key copy];

0 commit comments

Comments
 (0)