From 69e5cce3d6a4cf6e494825a6f20fcffb1497e639 Mon Sep 17 00:00:00 2001 From: Lor Tech Date: Sun, 20 Nov 2022 00:52:35 +0100 Subject: [PATCH 1/2] Fix displayed result of url/intro.js --- chapter-04/index.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chapter-04/index.adoc b/chapter-04/index.adoc index cffb5da1..018206ed 100644 --- a/chapter-04/index.adoc +++ b/chapter-04/index.adoc @@ -617,8 +617,8 @@ La variable `URL` (en majuscules) est disponible de manière globale. ---- include::{sourceDir}/url/intro.js[] ---- -<1> Affiche `thom4.net`. -<2> Affiche `/node.js/`. +<1> Affiche `apprendre-nodejs.fr`. +<2> Affiche `/v1/`. [TIP] .[RemarquePreTitre]#Web# Compatibilité avec les navigateurs From 98fc5e2f2d516b6d5631fc133bd1305395ffc18d Mon Sep 17 00:00:00 2001 From: Lor Tech Date: Sun, 20 Nov 2022 01:13:11 +0100 Subject: [PATCH 2/2] Fix description of url/resolve.js run result --- chapter-04/index.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter-04/index.adoc b/chapter-04/index.adoc index 018206ed..63acd703 100644 --- a/chapter-04/index.adoc +++ b/chapter-04/index.adoc @@ -662,7 +662,7 @@ Cette adresse résout un chemin absolu à partir du premier argument : include::{sourceDir}/url/resolve.js[] ---- <1> Affiche `https://apprendre-nodejs.fr/v1/`. -<2> Affiche `https://thom4.net/`. +<2> Affiche `https://apprendre-nodejs.fr/`. [horizontal] .Propriétés notables