summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRock <arockplaysmc@gmail.com>2020-11-17 00:06:14 -0800
committerJames M Snell <jasnell@gmail.com>2020-12-16 10:37:13 -0800
commitb55807573874142cc262f479a8344018831f93d9 (patch)
tree1c0684d0b7257dd1b2dca5910397fe8308a7865d /doc
parent3bd9b81da0ea5dc5952b7ce1b2604b8161a8346d (diff)
downloadnode-new-b55807573874142cc262f479a8344018831f93d9.tar.gz
doc: update url.md
Add missing 's' to example URL. PR-URL: https://github.com/nodejs/node/pull/36147 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/url.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/url.md b/doc/api/url.md
index 3d4500aa38..3f44a98491 100644
--- a/doc/api/url.md
+++ b/doc/api/url.md
@@ -24,7 +24,7 @@ Node.js specific, and a newer API that implements the same
[WHATWG URL Standard][] used by web browsers.
A comparison between the WHATWG and Legacy APIs is provided below. Above the URL
-`'http://user:pass@sub.example.com:8080/p/a/t/h?query=string#hash'`, properties
+`'https://user:pass@sub.example.com:8080/p/a/t/h?query=string#hash'`, properties
of an object returned by the legacy `url.parse()` are shown. Below it are
properties of a WHATWG `URL` object.