From 950e6634e127dffb0ef556aec4703394b035dcaf Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Mon, 24 Oct 2016 16:58:31 +0200 Subject: [PATCH] fix(gulp): e2e.watch works with non localhost interface --- scripts/e2e/e2e.template.dev.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/e2e/e2e.template.dev.html b/scripts/e2e/e2e.template.dev.html index 63ccbcc220..8c61c1c471 100644 --- a/scripts/e2e/e2e.template.dev.html +++ b/scripts/e2e/e2e.template.dev.html @@ -48,7 +48,7 @@ '@angular/http': '/node_modules/@angular/http/bundles/http.umd.js', '@angular/platform-browser': '/node_modules/@angular/platform-browser/bundles/platform-browser.umd.js', '@angular/platform-browser-dynamic': '/node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js', - 'ionic-angular': 'http://localhost:' + port, + 'ionic-angular': location.protocol + '//' + location.host, 'rxjs': '/node_modules/rxjs' }, packages: {