root
Environment: Server.
We use config.root
to tell Telefunc where our project's root directory lives.
// Environment: Server
import { config } from 'telefunc'
config.root = '/home/alice/code/my-app/'
It's optional and is only needed if we use config.telefuncFiles
.