fmagno opened this issue 3 years ago · 1 comments
Hi,
I understand this is not specifically a diegohaz/rest issue but I believe it may be affecting a lot of people who use this package.
diegohaz/rest
Kind regards,
Apparently it is possible to access imported variables by prefixing those with underscore _.
_
E.g import { env, mongo, port, ip, apiRoot } from './config'
import { env, mongo, port, ip, apiRoot } from './config'
apiRoot is accessible in the debugger panel via _apiRoot
apiRoot
_apiRoot