set browser to work with localhost