docs: add the recommendation to use config.wwwroot instead of process.cwd()
Some checks failed
Deploy Next.js application / deploy (push) Failing after 10m4s
Some checks failed
Deploy Next.js application / deploy (push) Failing after 10m4s
This commit is contained in:
parent
ae4cffe813
commit
eee12586a5
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ The reserved control messages, used internally by SVR.JS begin with:
|
||||||
|
|
||||||
`process.dirname` refers to the SVR.JS installation directory.
|
`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
|
## Get started
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue