docs: change the recommendation for using config.wwwroot instead of process.cwd()
Some checks failed
Deploy Next.js application / deploy (push) Failing after 10m4s

This commit is contained in:
Dorian Niemiec 2024-12-08 23:35:04 +01:00
parent eee12586a5
commit 6583fd10a0

View file

@ -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