Skip to content

Commit

Permalink
Temporary fix for models and static files
Browse files Browse the repository at this point in the history
  • Loading branch information
shehzan10 committed Oct 23, 2021
1 parent 7717b80 commit f06abaa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
</head>
<body>
<canvas id="canvas"></canvas>
<script src="build/bundle.js"></script>
<!--<script src="build/bundle.js"></script>-->
</body>
</html>
</html>
6 changes: 5 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ module.exports = function(env, argv) {
},
devtool: 'source-map',
devServer: {
port: 5650
port: 5650,
static: {
directory: path.join(__dirname, 'models'),
publicPath: '/models',
},
},
};
};

0 comments on commit f06abaa

Please sign in to comment.