Skip to content

Commit

Permalink
[fix][s]: Fix static public path for bundle.js and main.css -refs #229
Browse files Browse the repository at this point in the history
  • Loading branch information
subhankar authored and Fak3 committed Feb 7, 2017
1 parent aa3168d commit 2f92829
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,6 @@ ENV/
.DS_Store
.cred
.cache/
.backup/
.backup/
node_modules/
react/
3 changes: 2 additions & 1 deletion app/templates/dataset.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ <h1>
</h1>
</div>
{{snippets.dataset_show(dataset, jsonDataPackage, dataViews, showDataApi, datapackageUrl, publisherName, packageName)}}
<script type="text/javascript" src="/static/react/bundle.js"></script>
<link rel="stylesheet" media="screen" href="{{ s3_cdn }}/static/react/main.css">
<script type="text/javascript" src="{{ s3_cdn }}/static/react/bundle.js"></script>
</div>
{% endblock %}

0 comments on commit 2f92829

Please sign in to comment.