From 760e5939685b3bb05e9aa79e6e896b7a9aa953b4 Mon Sep 17 00:00:00 2001 From: Rock Date: Tue, 17 Nov 2020 00:06:14 -0800 Subject: [PATCH] doc: update url.md Add missing 's' to example URL. PR-URL: https://github.com/nodejs/node/pull/36147 Reviewed-By: Benjamin Gruenbaum Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca Reviewed-By: Harshitha K P Reviewed-By: James M Snell --- doc/api/url.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/url.md b/doc/api/url.md index df2ae85d81faca..1fb73f0d3e10c7 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.