From 6583fd10a09c2dd9024c4889b774a99f601683b3 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sun, 8 Dec 2024 23:35:04 +0100 Subject: [PATCH] docs: change the recommendation for using 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 ac5d7c6..54c2f2f 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. It's recommended to use the _config.wwwroot_ property instead though. +Current working directory (`process.cwd()`) is SVR.JS web root. It's recommended to use the _config.wwwroot_ property instead though, if targeting SVR.JS 4.2.0 or newer. ## Get started