Skip to content

Commit

Permalink
Update assetlink.json relation to check array to correctly reflect th…
Browse files Browse the repository at this point in the history
…e setup.
  • Loading branch information
tsunoyu committed Feb 5, 2025
1 parent 116938f commit f222677
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ Description of the changes...
<!-- List the pages that should be automatically tested as part of your custom metric changes. -->
**Test websites**:


- https://example.com/
5 changes: 3 additions & 2 deletions dist/well-known.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,10 @@ return Promise.all([
let hasDeepLinking = false;
let hasCredentialSharing = false;
data.forEach(statement => {
if (statement.relation === 'delegate_permission/common.handle_all_urls') {
if (statement.relation.includes('delegate_permission/common.handle_all_urls')) {
hasDeepLinking = true;
} else if (statement.relation === 'delegate_permission/common.get_login_creds') {
}
if (statement.relation.includes('delegate_permission/common.get_login_creds')) {
hasCredentialSharing = true;
}
});
Expand Down

0 comments on commit f222677

Please sign in to comment.