From f64aa9aee003807f67465d4010df2269b6254b8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=8A=80=E6=A1=91?= Date: Wed, 2 Sep 2020 18:48:27 +0800 Subject: [PATCH] Hotfix/current url (#1204) Update currentURL.md Co-authored-by: Angelos Chalaris --- snippets/currentURL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/currentURL.md b/snippets/currentURL.md index 173fffda1..7e489d7b0 100644 --- a/snippets/currentURL.md +++ b/snippets/currentURL.md @@ -12,5 +12,5 @@ const currentURL = () => window.location.href; ``` ```js -currentURL(); // 'https://google.com' +currentURL(); // 'https://www.google.com/' ```