1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

Add assetlinks.json to webpack.config.js (#1110)

* Update webpack.config.js

* add assetlinks.json
This commit is contained in:
Matt Portune 2021-08-03 13:23:04 -04:00 committed by GitHub
parent a23c2523d2
commit 2c1b06a5d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

26
src/assetlinks.json Normal file
View File

@ -0,0 +1,26 @@
[
{
"relation":[
"delegate_permission/common.handle_all_urls",
"delegate_permission/common.get_login_creds"
],
"target":{
"namespace":"web",
"site":"https://vault.bitwarden.com"
}
},
{
"relation":[
"delegate_permission/common.handle_all_urls",
"delegate_permission/common.get_login_creds"
],
"target":{
"namespace":"android_app",
"package_name":"com.x8bit.bitwarden",
"sha256_cert_fingerprints":[
"24:E0:6C:04:C2:08:04:8F:19:F1:C9:93:B4:DD:A4:43:0E:A8:B0:6D:B8:37:5E:A0:E3:7B:83:46:96:B9:AC:3A",
"16:E6:C0:3F:F9:55:50:82:E7:B5:2B:C7:73:56:69:62:1E:CB:C0:EA:03:6A:2F:E5:99:E3:D7:34:AC:B2:CE:03"
]
}
}
]

View File

@ -124,6 +124,7 @@ const plugins = [
{ from: './src/favicon.ico' }, { from: './src/favicon.ico' },
{ from: './src/browserconfig.xml' }, { from: './src/browserconfig.xml' },
{ from: './src/app-id.json' }, { from: './src/app-id.json' },
{ from: './src/assetlinks.json' },
{ from: './src/404.html' }, { from: './src/404.html' },
{ from: './src/404', to: '404' }, { from: './src/404', to: '404' },
{ from: './src/images', to: 'images' }, { from: './src/images', to: 'images' },