Skip to content

Commit

Permalink
Refer to assets in public directory
Browse files Browse the repository at this point in the history
  • Loading branch information
carmat committed Aug 8, 2017
1 parent f516b6f commit dc5a914
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion public/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script type="text/javascript" src="/assets/javascript/bundle.js" charset="utf-8"></script>
<script type="text/javascript" src="assets/javascript/bundle.js" charset="utf-8"></script>

</body>
</html>
2 changes: 1 addition & 1 deletion public/assets/javascript/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script type="text/javascript" src="/assets/javascript/bundle.js" charset="utf-8"></script>
<script type="text/javascript" src="assets/javascript/bundle.js" charset="utf-8"></script>

</body>
</html>
2 changes: 1 addition & 1 deletion src/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script type="text/javascript" src="/assets/javascript/bundle.js" charset="utf-8"></script>
<script type="text/javascript" src="assets/javascript/bundle.js" charset="utf-8"></script>

</body>
</html>
2 changes: 1 addition & 1 deletion src/assets/javascript/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var webpack = require('webpack');
module.exports = {
entry: './webpack/entry.js',
output: {
path: 'src/assets/javascript/',
path: 'public/assets/javascript/',
filename: 'bundle.js'
},
module: {
Expand Down
2 changes: 1 addition & 1 deletion webpack/components/pages/ComingSoon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default class ComingSoon extends React.Component {

<div dangerouslySetInnerHTML={ comingSoon.moreInfo } />

<a href="http://empowerhack.io#drawmylife"><img className="eh-logo" width="100" src="/assets/images/empowerhack-logo.png" /></a>
<a href="http://empowerhack.io#drawmylife"><img className="eh-logo" width="100" src="assets/images/empowerhack-logo.png" /></a>
</div>
);
}
Expand Down

0 comments on commit dc5a914

Please sign in to comment.