Skip to content

Commit f222677

Browse files
committed
Update assetlink.json relation to check array to correctly reflect the setup.
1 parent 116938f commit f222677

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ Description of the changes...
77
<!-- List the pages that should be automatically tested as part of your custom metric changes. -->
88
**Test websites**:
99

10+
1011
- https://example.com/

dist/well-known.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,10 @@ return Promise.all([
8686
let hasDeepLinking = false;
8787
let hasCredentialSharing = false;
8888
data.forEach(statement => {
89-
if (statement.relation === 'delegate_permission/common.handle_all_urls') {
89+
if (statement.relation.includes('delegate_permission/common.handle_all_urls')) {
9090
hasDeepLinking = true;
91-
} else if (statement.relation === 'delegate_permission/common.get_login_creds') {
91+
}
92+
if (statement.relation.includes('delegate_permission/common.get_login_creds')) {
9293
hasCredentialSharing = true;
9394
}
9495
});

0 commit comments

Comments
 (0)