Browse Source

docs: fix security doc url check (#16775)

pol 6 years ago
parent
commit
c76459738e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      docs/tutorial/security.md

+ 2 - 1
docs/tutorial/security.md

@@ -278,7 +278,8 @@ session
       callback(true)
     }
 
-    if (!url.startsWith('https://my-website.com')) {
+    // Verify URL
+    if (!url.startsWith('https://my-website.com/')) {
       // Denies the permissions request
       return callback(false)
     }