Skip to content
This repository has been archived by the owner on Oct 22, 2019. It is now read-only.

Commit

Permalink
Replace http://localhost:8080 with <%host%>. (#1979)
Browse files Browse the repository at this point in the history
When I view the story, no images are shown. I believe replacing http://localhost:8080 with <%host%> will generate the proper URL for each image: https://ampbyexample.com/img/tree-1920x1277.jpg and https://ampbyexample.com/img/forest-1920x1280.jpg.
  • Loading branch information
unc-student authored and sebastianbenz committed Mar 26, 2019
1 parent eb9e5d3 commit 80ba2e6
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -48,14 +48,14 @@

<amp-story-page id="page-1">
<amp-story-grid-layer template="fill">
<amp-img src="http://localhost:8080/img/tree-1920x1277.jpg"
<amp-img src="<%host%>/img/tree-1920x1277.jpg"
width="1920"
height="1277" layout="responsive"></amp-img>
</amp-story-grid-layer>
</amp-story-page>
<amp-story-page id="page-2">
<amp-story-grid-layer template="fill">
<amp-img src="http://localhost:8080/img/forest-1920x1280.jpg"
<amp-img src="<%host%>/img/forest-1920x1280.jpg"
width="1920"
height="1280" layout="responsive"></amp-img>
</amp-story-grid-layer>
Expand Down

0 comments on commit 80ba2e6

Please sign in to comment.