Skip to content

Commit 499c10e

Browse files
committed
fix: web link criteria
1 parent 24eb8b8 commit 499c10e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/deep-link/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub struct AssociatedDomain {
2828
impl AssociatedDomain {
2929
/// Returns true if the domain uses http or https scheme and has a host.
3030
pub fn is_web_link(&self) -> bool {
31-
self.host.is_some() && self.scheme.iter().any(|s| s == "https" || s == "http")
31+
self.scheme.iter().any(|s| s == "https" || s == "http")
3232
}
3333

3434
/// Returns true if marked as AppLink and has proper configuration.

0 commit comments

Comments
 (0)