From c76459738e720867a1b70e00c94a79081d4c8c49 Mon Sep 17 00:00:00 2001 From: pol Date: Wed, 6 Feb 2019 19:43:58 +0100 Subject: [PATCH] docs: fix security doc url check (#16775) --- docs/tutorial/security.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/tutorial/security.md b/docs/tutorial/security.md index 4a3300ee7f..94ca13c9ed 100644 --- a/docs/tutorial/security.md +++ b/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) }