docs: fix security doc url check (#16775)
This commit is contained in:
parent
76d919fff5
commit
c76459738e
1 changed files with 2 additions and 1 deletions
|
@ -278,7 +278,8 @@ session
|
||||||
callback(true)
|
callback(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!url.startsWith('https://my-website.com')) {
|
// Verify URL
|
||||||
|
if (!url.startsWith('https://my-website.com/')) {
|
||||||
// Denies the permissions request
|
// Denies the permissions request
|
||||||
return callback(false)
|
return callback(false)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue