| Index: web/apps/logdog-view/index.html
|
| diff --git a/web/apps/logdog-view/index.html b/web/apps/logdog-view/index.html
|
| index 845b16fbe6884fb37b11203cac99dc74a63b182c..ecf1769aa23f42fb11c2def6056822def51d7826 100644
|
| --- a/web/apps/logdog-view/index.html
|
| +++ b/web/apps/logdog-view/index.html
|
| @@ -13,9 +13,6 @@
|
|
|
| <!-- Setup Polymer -->
|
| <script src="inc/bower_components/webcomponentsjs/webcomponents-lite.min.js">
|
| - <script>
|
| - window.Polymer = window.Polymer || {};
|
| - window.Polymer.dom = 'shadow';
|
| </script>
|
|
|
| <!-- Because this project uses vulcanize this should be your only html import
|
| @@ -44,8 +41,12 @@
|
| // Learn more about auto-binding templates at http://goo.gl/Dx1u2g
|
| var app = document.querySelector('#app');
|
|
|
| - // Set up our default LogDog pRPC host.
|
| - app.host = logdog.host;
|
| + // Set up our default LogDog host.
|
| + app.host = window.location.hostname;
|
| + if (app.host === "localhost") {
|
| + // Running locally. Bind to our development instance.
|
| + app.host = "luci-logdog-dev.appspot.com";
|
| + }
|
| </script>
|
|
|
| </body>
|
|
|