From 72345a510291c5068b445be2b64746a169de0e61 Mon Sep 17 00:00:00 2001 From: Jay Mitchell Date: Thu, 26 May 2022 01:59:42 -0600 Subject: [PATCH 1/2] Update serving.md `cd` into the path mentioned. --- docs/guides/going-buildless/serving.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/going-buildless/serving.md b/docs/guides/going-buildless/serving.md index 2592f829b..83932be76 100644 --- a/docs/guides/going-buildless/serving.md +++ b/docs/guides/going-buildless/serving.md @@ -53,7 +53,7 @@ Likewise, if you were to rename `index.html` to `main.html`, then `https://my-do In the above examples, the server used the default web root `/var/www/html`, but we could also have configured it to use `/var/www/html/about`, e.g. by changing into that directory and starting a server from the command line ``` -cd /var/www/about +cd /var/www/html/about http-server ``` From 9d193d11af6bdd90311575cd8f31cc02498b12c5 Mon Sep 17 00:00:00 2001 From: Serhii Kulykov Date: Sun, 5 Jun 2022 21:59:47 +0300 Subject: [PATCH 2/2] docs: add missing colon --- docs/guides/going-buildless/serving.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/going-buildless/serving.md b/docs/guides/going-buildless/serving.md index 83932be76..1d4eb7bef 100644 --- a/docs/guides/going-buildless/serving.md +++ b/docs/guides/going-buildless/serving.md @@ -50,7 +50,7 @@ Likewise, if you were to rename `index.html` to `main.html`, then `https://my-do ### Files Outside the Web Root -In the above examples, the server used the default web root `/var/www/html`, but we could also have configured it to use `/var/www/html/about`, e.g. by changing into that directory and starting a server from the command line +In the above examples, the server used the default web root `/var/www/html`, but we could also have configured it to use `/var/www/html/about`, e.g. by changing into that directory and starting a server from the command line: ``` cd /var/www/html/about