docs: add the recommendation to use 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:18:52 +01:00
parent ae4cffe813
commit eee12586a5

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.
Current working directory (`process.cwd()`) is SVR.JS web root. It's recommended to use the _config.wwwroot_ property instead though.
## Get started