Created
June 15, 2018 20:32
-
-
Save j-kan/20aa183593bf64d815f90843ffa64c2f to your computer and use it in GitHub Desktop.
Changes to run locally via IP rather than "localhost"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/gulpfile.js b/gulpfile.js | |
index 9888664f..3ab507e2 100644 | |
--- a/gulpfile.js | |
+++ b/gulpfile.js | |
@@ -16,6 +16,9 @@ gulp.task('serve', function () { | |
connect.server({ | |
root: 'src', | |
livereload: false, | |
+ // host: '192.168.99.107', | |
+ host: 'localhost', | |
port: 8004, | |
debug: true, | |
middleware: function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/s44ng-client/fixtures/media_server_dev.xml b/s44ng-client/fixtures/media_server_dev.xml | |
index 7254a2e5..9ee4007a 100644 | |
--- a/s44ng-client/fixtures/media_server_dev.xml | |
+++ b/s44ng-client/fixtures/media_server_dev.xml | |
@@ -22,6 +22,7 @@ | |
<capabilities> | |
<capability> | |
<type>multi</type> | |
+ <!-- <url>192.168.99.107</url> --> | |
<url>localhost</url> | |
<protocols> | |
<protocol> | |
diff --git a/s44ng-client/src/app/services/loginSso/loginSsoService.ts b/s44ng-client/src/app/services/loginSso/loginSsoService.ts | |
index 6e86ab1b..752cc19c 100644 | |
--- a/s44ng-client/src/app/services/loginSso/loginSsoService.ts | |
+++ b/s44ng-client/src/app/services/loginSso/loginSsoService.ts | |
@@ -56,6 +56,7 @@ export class LoginSsoService { | |
this.AppConfigService.isLocalHost = false; | |
this.AppConfigService.serverBaseUrl = this.SERVER_URL_PREPEND + this.AppConfigService.siteId + this.SERVER_URL_APPEND; | |
} else { | |
+ // this.AppConfigService.serverBaseUrl = 'http://192.168.99.107:3000'; | |
this.AppConfigService.serverBaseUrl = 'http://localhost:3000'; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment