injected the nodejs endpoint as a variable