Skip to content

Commit ffc2681

Browse files
author
Matthieu Gicquel
authored
add comment about subdomains
1 parent 8ab77fe commit ffc2681

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ This package implements [public key pinning](https://cheatsheetseries.owasp.org/
6565
"@bam.tech/react-native-app-security",
6666
{
6767
"sslPinning": {
68-
// The hostname you want to pin, without `https://`
68+
// The hostname you want to pin, without `https://`.
69+
// yahoo.com and *all its subdomains* will be pinned
6970
"yahoo.com": [
7071
// The public key hashes for the pinned certificates, without a `sha256/` prefix
7172
"TQEtdMbmwFgYUifM4LDF+xgEtd0z69mPGmkp014d6ZY=",

0 commit comments

Comments
 (0)