Skip to content

Commit

Permalink
feat(generators/demo): add ability to retrieve a build distribution t…
Browse files Browse the repository at this point in the history
…arget-environment's settings at run-time

Replace madlib-hostmapping based solution.

Omitted when `generators/app` was changed on  commit 7d9f599.
  • Loading branch information
cueedee committed Oct 9, 2017
1 parent fdb95a3 commit e2bc048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generators/demo/templates/src/index.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]--><@ } @><% if ( debugging ) { %>

<link rel="stylesheet" type="text/css" href="<%- styleBase %>/debug.css?<%- buildRun %>" />
<link rel="stylesheet" type="text/css" href="<%- styleBase %>/debug.css?<%- buildRun %>" /><% if ( environment === 'local' ) { %>
<script>
//
// Load `livereload` relative to document protocol and host, but on a different port.
Expand All @@ -68,7 +68,7 @@

document.head.appendChild( livereload );

</script><% } %>
</script><% }} %>
</head>
<body>
<div id="navigation">
Expand Down

0 comments on commit e2bc048

Please sign in to comment.