Added replacing localhost with 127.0.0.1, in case of localhost override.
(ionic live reload, for example)