Skip to content

Commit 5ef8c75

Browse files
committed
public-path=/ for simplicity
1 parent 523de70 commit 5ef8c75

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
output: {
1919
path: path.join(__dirname, 'build'),
2020
filename: 'bundle.js',
21-
publicPath: '/public/'
21+
publicPath: '/'
2222
},
2323
resolve: {
2424
extensions: ['', '.jsx', '.scss', '.js', '.json'],

www/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
<meta http-equiv="cleartype" content="on">
1616
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
1717
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">
18-
<link rel="stylesheet" href="public/react-toolbox.css">
18+
<link rel="stylesheet" href="react-toolbox.css">
1919
</head>
2020

2121
<body>
2222
<div id="app"></div>
23-
<script src="public/bundle.js"></script>
23+
<script src="bundle.js"></script>
2424
</body>
2525
</html>
2626

0 commit comments

Comments
 (0)