From eee12586a58530ee69562fbdcc710e7ea799f0fa Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sun, 8 Dec 2024 23:18:52 +0100 Subject: [PATCH] docs: add the recommendation to use config.wwwroot instead of process.cwd() --- pages/docs/mods/mod-development.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/mods/mod-development.md b/pages/docs/mods/mod-development.md index 3754237..ac5d7c6 100644 --- a/pages/docs/mods/mod-development.md +++ b/pages/docs/mods/mod-development.md @@ -82,7 +82,7 @@ The reserved control messages, used internally by SVR.JS begin with: `process.dirname` refers to the SVR.JS installation directory. -Current working directory (`process.cwd()`) is SVR.JS web root. +Current working directory (`process.cwd()`) is SVR.JS web root. It's recommended to use the _config.wwwroot_ property instead though. ## Get started