Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

Commit

Permalink
Removed scheme from host matching. Issue #6
Browse files Browse the repository at this point in the history
  • Loading branch information
nikDemyankov committed Oct 21, 2015
1 parent 6c7e8ca commit 6de6d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/CULPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ - (CULHost *)findHostByURL:(NSURL *)launchURL {
NSURLComponents *urlComponents = [NSURLComponents componentsWithURL:launchURL resolvingAgainstBaseURL:YES];
CULHost *host = nil;
for (CULHost *supportedHost in _supportedHosts) {
if ([supportedHost.name isEqualToString:urlComponents.host] && [supportedHost.scheme isEqualToString:urlComponents.scheme]) {
if ([supportedHost.name isEqualToString:urlComponents.host]) {
host = supportedHost;
break;
}
Expand Down

0 comments on commit 6de6d6e

Please sign in to comment.