Changed to localhost and modified paths to fix failing npm tests